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.gitGo to API directory
cd apiInstall required packages
npm iRun the server
npm run serverGo to client directory
cd clientInstall required packages
yarnRun the client
yarn start