I developed a simple to-do list app using redux and learned a lot doing it.
Client: React, Redux, reduxjs/toolkit, Thunk, Axios, Dotenv
API: Node, Express, Cors,Nanoid
You can view the screenshots or watch the video below.
GET /todos
POST /todos
Parameter | Type | Description |
---|---|---|
{text} |
string |
Listeye eklenecek metni göndermeniz yeterli |
PATCH /todos/:id
Parameter | Type | Description |
---|---|---|
id |
string |
ID'si girilen todo elemanının completed durumunu değiştirir. |
DELETE /todos/clearcompleted
Parametre | Açıklama |
---|---|
none |
Tamamlanmış todo nesnelerini siler |
DELETE /todos/id
Parametre | Tip | Açıklama |
---|---|---|
id |
string |
Gerekli. id eklemeniz yeterli. |
Clone the project
git clone https://github.com/CihatKOCAK/to-do-app-redux.git
Go to API directory
cd api
Install required packages
npm i
Run the server
npm run server
Go to client directory
cd client
Install required packages
yarn
Run the client
yarn start