This repo shows a basic todos example base on the famous TodoMVC but using RxJS and Angular. The goal is to show how to use the Observables data architecture pattern within Angular 2.
Try the live demo here.
If you don't install angular-cli
before, you need to install it at first:
npm install -g @angular/cli
Make sure you have the angular-cli
, and then:
# clone the repo
git clone git@github.com:RxJS-CN/angular-rxjs-todos.git
# change into the repo directory
cd angular-rxjs-todos
# install dependencies
npm install
# run
npm start
Then visit http://localhost:4200 in your browser.
If you prefer React, you can checkout out React RxJS Todos
MIT