Learn Angular, Angular Material, RxJS fundementals with LocalCast Weather using the Kanban method.
LocalCast Weather has been developed in support of my book Angular 6 for Enterprise-Ready Web Applications. You can get the book on http://AngularForEnterprise.com.
Check out LemonMart, an Angular 6 Grocery Store LOB App implemented with a Router-first architecture, at https://github.com/duluca/lemon-mart.
Build, debug and publish Docker images with npm Scripts for Docker and achieve Blue-Green deployments on AWS Fargate with npm Scripts for AWS.
npm run build:prodto build a production optimized version of the app.npm run docker:debugto run tests and build a containerized version of the app.
- Do NOT install
@angular/cliortypescriptglobally to avoid version mismatch issues across multiple projects. - Run
npx @angular/cli new app-name --routingto create a new Angular app with basic routing wired.- If you have trouble with this command, try
npx -p @angular/cli new app-name --routing
- If you have trouble with this command, try
- To run
ngcommands from within the project directory, preprendnpxto commands, likenpx ng build. - To continue using
ngwithout having to prependnpx, configure shell autofallback as described here: https://www.npmjs.com/package/npx#shell-auto-fallback.
- Run
npm startfor a developmenet server. Navigate tohttp://localhost:5000/. The app will automatically reload if you change any of the source files. - Run
npm testto execute the unit tests via Karma. - Run
npm run e2eto execute the end-to-end tests via Protractor.
- Run
ng generate component component-nameto generate a new component. You can also useng generate directive|pipe|service|class|guard|interface|enum|module.
This project was generated with Angular CLI version 1.6.3. To get more help on the Angular CLI use
ng helpor go check out the Angular CLI README.
See my example project here https://github.com/excellalabs/minimal-mean