Skip to content

alyssonbarrera/task-manager-api

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

API for task management application.

Features

User Management:

  • Create User
  • Authenticate User
  • Get User by ID
  • Update User
  • Delete User

Task Management:

  • Create Task
  • Get Task by ID
  • Fetch Tasks with Pagination, Filtering by Status, and Search
  • Update Task
  • Update Task Status
  • Delete Task

Health Check:

  • Check Database Connection

Security:

  • JWT Authentication
  • Rate Limiting

Installation

$ pnpm install

Environment Variables

cp .env.example .env

Create database

$ docker compose up -d

Generate Prisma Client

$ pnpm run db:generate

Run Database Migrations

# development
$ pnpm run db:migrate

# production
$ pnpm run db:deploy

Run Prisma Seed

$ pnpm run db:seed

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

About

API for task management application

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors