/ngx-starter-kit

Angular-NestJS Starter Kit Monorepo

Primary LanguageTypeScript

NgxStarterKit

Commitizen friendly semantic-release

This project was generated with Angular CLI using Nrwl Nx.

live Demo

MANT (MongoDB Angular NestJS TypeScript) Stack

Install

git clone https://github.com/xmlking/ngx-starter-kit.git my-project
cd my-project
npm install

Development server

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

Run npm run start:mock for a mock server.

Run npm run start -- --proxy-config proxy.conf.js to start with proxy

Build

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

Running unit tests

Run ng test <module> to execute the unit tests via Jest.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via TestCafe. Before running the tests make sure you are serving the app via ng serve.

Docs

Run npm run doc:build to build docs. Run npm run doc:serve to serve docs.

Deploy

Run npm run deploy:mock to deploy demo app to gp-pages.

Analyzing bundle size npm run bundle-report

Analyzing and Visualizing the Dependency Graph npm run dep-graph