Skip to content

angularmrTraining/component-lab-app

Repository files navigation

Welcome to Angular Training By format'PRO!

This project was generated with Angular CLI version 1.6.2.

Welcome to Angular Training By format'PRO!

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"

Angular Tutorial

Check the official Angular tutorial is a great place to get start with angular 5, Angular Tutorial

Angular Fundamentals

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.

Angular Fundamentals

Why do you need this boilerplate ?

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 under src/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

Get Start

  1. 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
  1. Go to project folder and install Dependencies:
$ cd component-lab-app
$ npm install
  1. Start Project:
$ npm start 

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.