Skip to content

Angular 11 Starter kit with bootstrap, Material UI, PWA support.

License

Notifications You must be signed in to change notification settings

bestuimaker/angular11-starter

Repository files navigation

Best UI Maker Angular Workspace

This project was generated with Angular CLI version 11.2.13. This project is containing express to serve the file in production mode and ng-bootstrap to get start with bootstrap 4.6.0.

Integrations

  • ng-bootstrap with 4.6.0 version of bootstrap.
  • express to serve the file in production mode.
  • PWA out of the box Progressive Web Application support

Getting started

git clone https://github.com/bestuimaker/angular11-starter.git angular-project
cd angular-project
npm install

Development server

Run ng serve or npm start for a dev server. This will automatically 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 or npm run build to build the project. The build artifacts will be stored in the dist/<project-name> directory.

Run ng build --prod or npm run build:prod to build the project production ready. The build artifacts will be stored in the dist/<project-name> directory.

Run npm run start:prod to build the project in production mode and serve the production build using the integrated express server. Express server will serve the files from the dist/<project-name> directory.

Running analyzer

Run npm run analyze to analyze you bundle sizes.

Code Formatting

Run npm run format:write to formate the entire code with prettier.

Running unit tests

Run ng test or npm run test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e or npm run 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 Overview and Command Reference page.