Skip to content

orestes/Angular-CLI-Recipes

 
 

Repository files navigation

Angular-CLI-Recipes

This is the code repository for Angular CLI Recipes [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.

About the Video Course

Angular CLI is the command line interface tool to initialize, develop, scaffold and maintain Angular applications. It provides you with boilerplates and therefore, saves your time.This course will teach you how to generate an angular application from scratch within seconds showing you the tips tricks and techniques. You will be learning everything related to the CLI from generating a new app to quickly adding component, directives, modules, services, guards and other features effortlessly. The command line interface that is provided by the Angular team will help you to generate your Angular applications more effectively than ever. It will also teach you how to run a development environment, run the tests for your project, easily add new features and keep your dependencies up to date. By the end of the course, you’ll find a plethora of tips and tricks to improve performance to write better components. You will master the usage of the Angular CLI and generate entire applications from scratch in a matter of seconds.

The code bundle for this video course is available at - https://github.com/PacktPublishing/Angular-CLI-Recipes

What You Will Learn

  • Keep your creativity flowing by generating repetitive/boilerplate code so you can focus on features.
  • Explore the Angular framework by having the Angular CLI generate different pieces of code.
  • Design your own schematics so you can boost productivity when writing repetitive code specific to your app.
  • Share your current working state with anyone without having to deploy your code.
  • Create your own schematics to generate boilerplate specific for your needs.
  • Validate your code and verify its behaviour before deploying.
  • Generate a build optimized for production and other environments.
  • Easily include new libraries and features and keep them up to date.

Instructions and Navigation

Assumed Knowledge

To fully benefit from the coverage included in this course, you will need:
This course is for JavaScript web developers, Angular developers who would like to skip writing boilerplate code and keep their projects maintainable and up to date following the recommended best practices. Some knowledge about the different Angular architecture components and their role is required. In fact, the Angular CLI will help you learn about all the different architecture components by allowing you to create them blazingly fast, even if you’ve never used before.

Technical Requirements

This course has the following software requirements:
Windows 7 or Windows 10
Browser: Google Chrome, Latest Version
Code Editor: Atom IDE, Latest Version
Others: Node.js LTS 8.9.1 Installed

Related Products

MyShows

This project was generated with Angular CLI version 7.2.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.5%
  • JavaScript 15.7%
  • HTML 13.1%
  • CSS 0.7%