Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/doguedogue/nest-backend

NestJS Back End
https://github.com/doguedogue/nest-backend

Last synced: 11 days ago
JSON representation

NestJS Back End

Awesome Lists containing this project

README

        


Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

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
Backend to login, register and CRUD users using JWT

Developed with [Nest](https://github.com/nestjs/nest) framework.

## Installation

```bash
$ docker compose up -d
```

Rename ```.env.template``` to ```.env```

## 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
```
# API

* POST | GET | PATCH | DELETE``` localhost:3000/auth```
* POST ``` localhost:3000/auth/login```
* POST ``` localhost:3000/auth/register```