Skip to content

pynterest83/Todo-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TodoList App

Description

A simple todo list app that allows you to add, edit, and delete tasks. It also allows you to mark tasks as complete and sort them by priority.

Installation

  • Run npm install in the root directory.
  • Create a .env file in the root directory like .env.example

Usage

Run the app in development mode

npm run dev

Theory

Request

url

https://www.canva.com/design/DAFdpmCMuNA schema domain path params

schema http/https domain ==> IP address path const params variable

https://www.youtube.com/watch?v=CHV3SoFtE1I schema domain path query

method (CRUD)

  • GET - read query params

  • POST - create body

  • PUT - update (replace) body

  • DELETE - delete query params

  • PATCH - update (partial) body

body

  • json
  • form-data

query

Response

status code

  • 1xx - informational
  • 2xx - success
  • 3xx - redirection
  • 4xx - client error
  • 5xx - server error

body

  • json
  • html
  • text
  • file

Contents

  • Routing

  • Mongo

  • Exception

  • Error Handling

  • Joi

  • Authentication

About

Learning NodeJS through Todo-List project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published