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/EmanuelQuintino/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 tools for users to manage, monitor and generate reports on their tasks in an organized and intuitive way, in addition to having a responsive version for use on cell phones.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages