/angular-starter

😍 A complete Angular 10, NgRx, Angular CLI & Angular Material starter project

Primary LanguageTypeScript

A complete Angular starter project 😍


Table of Content

Getting started

git clone https://github.com/truonghungit/angular-starter.git new-project
cd new-project
yarn
yarn start

Development server

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

Build

Run yarn build or ng build to build the project. The build artifacts will be stored in the dist/ directory.

Run the yarn build:prod or ``ng build --prod` for a production build.

Running unit tests

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

Run yarn test:coverage or ng test --code-coverage for test coverage

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.

Why do I need Storybook

There are many use cases for Storybook:

  • a component explorer
  • styleguide
  • UI docs
  • playground
  • sandbox
  • workshop
  • library

JSON Server

cd server
npm install
npm start