This project was generated with Angular CLI version 1.6.2.
I believe that the only way to master programming and to be a great developer on a specific language or a specific framework, is by knowing where to look in Doc. " Med Lazhari"
Check the official Angular tutorial is a great place to get start with angular 5, Angular Tutorial
Here you can go to the next step as an Angular developer, by reading everything about this framework, from architecture to testing. and you can go back to this section each time you have a challenge in your app.
This Repository is an implementation of multiple Angular fundamentals, we expired together on training the following topics:
- The component conception and design thinking
- How you can integrate an external CSS framework such as Bootstrap
- How to user Angular CLI to create a specific strucutre for you project
- The Angular 5 routing module check
app-routing.module.ts
file undersrc/app
folder - How to create a specific classes for your data modeling, please check
./app/models
folder - We use a powerful tool to generating mock data https://next.json-generator.com
- HttpClient module and Angular service, please check the
./app/services/users.services.ts
file
- First, you need to get the project code, so go to your terminal and copy/past the command below:
$ get clone https://github.com/angularmrTraining/component-lab-app.git
- Go to project folder and install Dependencies:
$ cd component-lab-app
$ npm install
- Start Project:
$ npm start
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.
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. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.