Skip to content

gokunik/Todo-App-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo App backend with express

Install dependencies

npm install

Run the server

npm start

Run the development server

npm run dev

Api endpoints

Auth

/api/v1/auth/signup - POST

/api/v1/auth/login - POST

Todos

/api/v1/todos - GET, POS

  • GET - get all todos
  • POST - create a new todo

/api/v1/todos/:id - GET, PUT, DELETE

  • GET - get a todo by id
  • PUT - update a todo by id
  • DELETE - delete a todo by id

Other features

  • Authentication and Authorization using JWT
  • Input validation using ZOD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published