Todo Application
Installation
git clone https://github.com/harun-guter/todo-app.git
cd todo-app
install.bat
Change connectionString value from server\config.js file.
Run Locally
cd todo-app
start.bat
Server | Client |
---|---|
http://localhost:3001 |
http://localhost:3000 |
API Reference
Get all todos
GET /api/todos
Get single todo
GET /api/todos/{id}
Parameter | Type |
---|---|
id |
string |
Add a new todo
POST /api/todos
Body: {"content": String}
Update todo
PUT /api/todos/{id}
Parameter | Type |
---|---|
id |
string |
Body: {"content": String}
Delete todo
DELETE /api/todos/{id}
Parameter | Type |
---|---|
id |
string |
Tech Stack
Client: React, Bootstrap
Server: Node, Express, MongoDB