Skip to content

Latest commit

 

History

History
117 lines (70 loc) · 1.78 KB

README.md

File metadata and controls

117 lines (70 loc) · 1.78 KB

To-Do List /w Redux

I developed a simple to-do list app using redux and learned a lot doing it.

Used technologies

Client: React, Redux, reduxjs/toolkit, Thunk, Axios, Dotenv

API: Node, Express, Cors,Nanoid

Screenshots

You can view the screenshots or watch the video below.

Screen Shot

API USAGE

Fetch all items

  GET /todos

Add item

  POST /todos
Parameter Type Description
{text} string Listeye eklenecek metni göndermeniz yeterli

Update item

  PATCH /todos/:id
Parameter Type Description
id string ID'si girilen todo elemanının completed durumunu değiştirir.

Delete completed items

  DELETE /todos/clearcompleted
Parametre Açıklama
none Tamamlanmış todo nesnelerini siler

Delete item

  DELETE /todos/id
Parametre Tip Açıklama
id string Gerekli. id eklemeniz yeterli.

Run it on your computer

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