itry-dev / react-todo

CRUD React todo app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple React Todo app

This version uses json-server as an Api server

A CRUD todo react app example.
Can be installed as a docker app just run

docker-compose up -d

It will start 2 containers:

  1. the react app running at port 3000
  2. the json server db running at port 3001

Important
If you run your app locally remember to create a file called db.json in db folder.
Put this string into it:

{"todos":[]}

and start json server

cd db
json-server db.jon

It's not necessary if you run the app using docker.

Json server documentation
https://github.com/typicode/json-server#getting-started

About

CRUD React todo app


Languages

Language:JavaScript 91.3%Language:HTML 6.5%Language:Dockerfile 1.2%Language:CSS 1.0%