https://github.com/rodrigorvsn/set-api
📚️ API for SET app
https://github.com/rodrigorvsn/set-api
docker jwt nestjs nodejs prisma typescript
Last synced: 2 months ago
JSON representation
📚️ API for SET app
- Host: GitHub
- URL: https://github.com/rodrigorvsn/set-api
- Owner: RodrigoRVSN
- Created: 2022-09-06T21:36:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-11T22:47:21.000Z (over 3 years ago)
- Last Synced: 2025-06-14T03:04:17.735Z (about 1 year ago)
- Topics: docker, jwt, nestjs, nodejs, prisma, typescript
- Language: TypeScript
- Homepage: https://www.reduxsucks.com.br
- Size: 136 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# This project is a API for a university project
# 🔨 Technologies
- Nestjs - `Nodejs framework`
- PrismaORM - `ORM to manipulate the database`
- MySQL - `database`
- Passport - `Implement JWT strategy`
- Bcrypt - `Encrypt password`
- JWT auth guard - `JWT Authentication`
- Docker - `run local MySQL database`
- Planetscale - `deploy the database`
- Railway - `deploy the node server`
- Swagger UI - `auto generated documentation`
___
## Installation
```bash
$ yarn
```
## Generate a local MYSQL database with Docker (don't forget to add the database URL in `.env` file)
```bash
$ docker-compose up
```
## Generate Prisma migration in your database
```bash
$ yarn pm
```
## Running the app
```bash
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
```
### See others commands in `package.json` scripts
## Test
```bash
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
```