This special Angular Essentials Workshop for Raiffeisen Software was originally generated with the Angular CLI by @Manfred Steyer and has since been improved and updated by @LX_T, currently using Angular V17.3.3.
You'll find the workshop slides in the slides
directory.
You'll find the workshop labs in the labs
directory.
You'll find a free ebook by my collegue Manfred Steyer in the book
directory.
Run npm i
or yarn
to install all dependencies.
Run ng s
for a dev server. Navigate to http://localhost:4200/
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via JEST.
Run ng e2e
to execute the end-to-end tests via Cypress.
If you have problems installing Cypress please try this workaround:
-
Remove these two lines
"cypress": "^13.7.2",
and"@cypress/schematic": "^2.5.1",
from thedevDependencies
yourpackage.json
and then runnpm i
(oryarn
). -
Download cypress.zip from here: https://docs.cypress.io/guides/getting-started/installing-cypress#Direct-download
-
In your terminal / prompt run this command:
CYPRESS_INSTALL_BINARY=~/Downloads/cypress.zip npm install cypress --save-dev
-
In your
package.json
re-add this to yourdevDependencies
:"@cypress/schematic": "^2.5.1",
-
Run
npm i
(oryarn
) once more. -
Test via
ng s
andng e2e
(in two separate terminals).
Use ng help
, contact your trainer Alex T. or go check out our website Angular Architects.