Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.32 KB

File metadata and controls

45 lines (31 loc) · 1.32 KB

Angular 2 +

This repository can be used as starter app for angular. The folder structure and other things are already there in the repository. following things are already setup in the repository modules config servies api service lodash rxjs loader toaster messages Auth guard

How to Setup

Clone the repository. Run npm install

Prerequisite

You should have basic understanding of angular 2+ version and typescripts

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.

What all this repository contains

It contains the following basic example

  1. Template driven forms - /templateDrivenForms use the above route to understand the template driven forms