An open API service indexing awesome lists of open source software.

https://github.com/nihaadk/task-management-api

Tasks Management API create with NestJS
https://github.com/nihaadk/task-management-api

backend javascript nestjs nestjs-backend nodejs rest-api-example restapi restapi-framework typescript

Last synced: about 1 month ago
JSON representation

Tasks Management API create with NestJS

Awesome Lists containing this project

README

        


Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

## Description

Task Management API create with [NestJS](https://github.com/nestjs/nest).

#### Themes:

- Develop production-ready REST API's
- CRUD operations
- Erro handling
- Data transfer Objects (DTO)
- System modularity
- Backend development best practices
- Configuration management
- Logging
- Security best practices

#### API Endpoints - Tasks

- /tasks GET => Get tasks (include filter) ✔️

- /tasks/:id GET => Get a task ✔️

- /tasks POST => Create a task ✔️

- /tasks/:id DELETE => Delete a task ✔️

- /tasks/:id/status PATCH => Update task status ✔️

#### Auth Endpoints

- /auth/signup POST => Sing up

- /auth/signin POST => Sing in

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

## Used

- [class-validator](https://github.com/typestack/class-validator)
- [class-transformer](https://github.com/typestack/class-transformer)
- [postgresql](https://www.postgresql.org/)
- [pgadmin](https://www.pgadmin.org/)
- [typeorm](https://typeorm.io/)
- [passport](https://github.com/nestjs/passport)
- [nestjs/jwt](https://github.com/nestjs/jwt)

## License

Nest is [MIT licensed](LICENSE).