Skip to content

cj-wang/mean-start-2

Repository files navigation

mean-start-2

Full stack Angular + Nest + Universal.

The client application is based on ngx-admin template with Angular 7+, Bootstrap 4 and Nebular, integrated Nest server running APIs and server-side rendering.

Demo

Live Demo with upgraded Tour of Heroes.

Development server

Run npm run dev to start the Angular dev server and the Nest API server concurrently. Navigate to http://localhost:4200/ for the app. The Angular app or Nest server will automatically reload if you change any of the source files.

Build

Run npm run build to build the project. The built Angular artifacts will be stored in the dist/client/ directory. The compiled server application with server-side rendering content will be the dist/server.js file.

Production server

Run npm start to start the application in prod mode with server-side rendering. Navigate to http://localhost:3000/ for the app.

Running unit tests

Run npm test to execute the client and server unit tests concurrently.

Running end-to-end tests

Run npm run e2e to execute the client and server end-to-end tests.