btroncone / example-app

Example app showcasing the ngrx platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#@ngrx example application

Example application utilizing @ngrx libraries, showcasing common patterns and best practices. You can find the live app here.

This app is a book collection manager. Using the Google Books API, the user can search for books and add them to their collection. This application utilizes @ngrx/db to persist the collection across sessions; @ngrx/store to manage the state of the app and to cache requests made to the Google Books API; @ngrx/router to manage navigation between routes; and @ngrx/effects to isolate side effects.

Included

  • ngrx/store - RxJS powered state management for Angular2 apps, inspired by Redux
  • ngrx/effects - Side effect model for @ngrx/store
  • ngrx/router - Reactive Routing for Angular 2
  • ngrx/db - RxJS powered IndexedDB for Angular2 apps
  • ngrx/router-store - Bindings to connect ngrx/router to ngrx/store

Quick start

# clone the repo
git clone https://github.com/ngrx/example-app.git

# change directory to repo
cd example-app

# run npm install
npm install

# start the server
npm run start

Navigate to http://localhost:8080/ in your browser

About

Example app showcasing the ngrx platform

License:MIT License


Languages

Language:TypeScript 95.3%Language:JavaScript 3.6%Language:HTML 1.1%