Skip to content

Repository files navigation

Task Manager - RESTfull API

Entity Relationship Diagram

ERD

Technologies

  • Node.js
  • Typescript
  • Express
  • JSON Web Token (JWT)
  • Bcrypt
  • Sqlite
  • Zod

Installation

# clone project
$ git clone https://github.com/NathanLins12/Task-Manager-API.git
# install dependencies
$ npm install
# run api
$ npm run dev

Environment Variables

PORT=""SECRET_TOKEN=""EXPIRESIN_TOKEN=""KEY_TOKEN=""

Routes

FunctionalityMethodEndpointDescription
AuthPOST/loginStart the user session
POST/logoutClose the user session
UserGET/userReturn user informations
POST/userCreate a new user
TasksPOST/taskAdd a new task
GET/tasksReturn *pagination tasks
PUT/task/:idUpdate an existing task
DELETE/task/:idRemove an existing task

*Pagination parameters

  • limit: Number of items per page.
  • offset: Offset index.
  • filter: Filter options "all", "completed", "pending", "late".
  • Query example: "/tasks?limit=10&offset=0&filter=all".

Links

About

Task Manager is a Full Stack application developed in React and Node.js to complete the Web Development Course offered by Reprograma Jucás. It was created with the aim of providing users with a tool to manage and monitor their tasks in an organized and intuitive way.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages