Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.1 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.1 KB

Redux TodoMVC Example modified to use Fake JSON Server

This is a sample project how to use Fake JSON Server as a generic Back End for any prototype or any Front End that needs a simple Back End.

This is a modified version of original Redux TodoMVC example.

Get started

# Start Fake JSON Server (check Fake JSON Server's README if you don't have .NET installed)
$ git clone https://github.com/ttu/dotnet-fake-json-server.git
$ cd dotnet-fake-json-server/FakeServer
$ dotnet run --file tododb.json --urls http://localhost:57602

# Start Front End
$ git clone https://github.com/ttu/todomvc-fake-server.git
$ cd todomvc-fake-server
$ npm install
$ npm start

Open http://localhost:3000

Step by step modification guide

How to modify React TodoMVC example to use a REST API and WebSockets

Step by step guide how to start with the original Redux TodoMVC example and end up with this.

Notes

  • Tests are not updated