Skip to content

Latest commit

 

History

History
executable file
·
50 lines (29 loc) · 1.56 KB

README.md

File metadata and controls

executable file
·
50 lines (29 loc) · 1.56 KB

Angular 6 + Node.js - Boiler

This project is a starter project with Node at the backend (fully written in TypeScript) and Angular 6 at the frontend.

This repo shall allow you to instantly get started with a full stack project in place. Just connect it with your favorite database and you're good to go.

Repo Features

Markup : - [x] Angular 6.0.0 - [x] Bootstrap - [x] Lazy Loaded Routes - [x] Angular Material - [x] PWA - [x] Server Side TypeScript - [x] Node.js API - [x] Production Ready Build

Development server

First run ng build --watch

Then, npm run dev for a dev server. Navigate to http://localhost:3000/.

The app will automatically reload if you change any of the source files. (Server side as well as client side)

Code scaffolding

Run ng g c component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Production Build

First run ng build --prod

Then, Run npm run prod to build the project. The build artifacts will be stored in the dist/ directory.

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.

Contribution

Pull Requests are always welcome.