A simple Todo app example featuring ngrx/store — RxJS powered state management inspired by Redux for Angular2 apps.
- Angular 2
- ngrx/store
- ngrx/effects
- ngrx/store-devtools
- RxJS
- SASS
- Typescript 2
- Webpack 2
node >= 6
$ git clone https://github.com/r-park/todo-angular2-ngrx.git
$ cd todo-angular2-ngrx
$ npm install
$ npm start
Script | Description |
---|---|
npm start |
Start webpack development server @ localhost:3000 and api server @ localhost:3001 |
npm run build |
Lint, test, and build the application to ./target |
npm run lint |
Lint .ts and .js files |
npm run lint:js |
Lint .js files with eslint |
npm run lint:ts |
Lint .ts files with tslint |
npm test |
Run unit tests with Karma and Jasmine |
npm run test:watch |
Run unit tests with Karma and Jasmine; watch for changes to re-run tests |