/todo-app-mern

for technical examination

Primary LanguageTypeScript

Todo App MERN

A Simple Todo App

LIVE: https://dwghdev.github.io/todo-app-MERN

API: https://todo-api-mern-exam.herokuapp.com/api

Contents

Application View Sample

Getting Started

  • clone the project and then start the project
  git clone https://github.com/dwghdev/todo-app-MERN 
  cd todo-app-MERN

  # open server
    cd server
    npm install
    npm start

  # open client
    cd ../client
    npm install
    npm start

(back to top)

Features

  • create a todo with title and description.
  • edit/update a todo with title and description.
  • filter a todos if completed, active or all.
  • deleting a todo and invalidating the list.
  • marking a todo as completed or active.

(back to top)

API Routes

Create a todo task: POST /todos

Get all todo tasks: GET /todos

Get todo task by id: GET /todos/:id

Update/Edit a todo task : PUT /todos/:id

Delete/Remove todo task : DELETE /todos/:id

Get completed todo tasks: GET /todos?isCompleted=true

(back to top)