toannhu / angular-nodejs-template-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The project is tested on MAC OS and Linux. If you are using Window, please check again the scripts in all package.json files

Frontend

The frontend was generated with Angular CLI version 6.0.3.

Backend

The backend was generated with NodeJS version 8.11.2

Development server

The backend and frontend are developed by TypeScript. Run npm run start:frontend and npm run start:backend for a development environment. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run npm run build to build backend and frontend. The build artifacts will be stored in the dist directory. Use the npm run build:prod for a production build. For the production build, the contents of the folder frontend/dist/ will be copied to backend/dist/frontend.

Tests for frontend

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.

Tests for backend

TODO: will be updated.

About


Languages

Language:TypeScript 62.3%Language:JavaScript 24.7%Language:HTML 11.0%Language:CSS 1.9%