Simple application in NestJS to record your longest time alive in a match at Anime Runner's.
Em complemento ao jogo Anime Runner's, feito na Unreal Engine 4.27, que é um jogo onde o objetivo é sobreviver o maior tempo possível, veio a ideia de registrar esse tempo de cada jogador e salvar em um banco de dados, assim sendo possível fazer um ranking de cada um.
For the use of the project, some prerequisites will be necessary.
- Node.JS
You need to create an .env file inside the project root. You can also create
.env.development
and.env.production
.
API_KEY="key"
SWAGGER="TRUE"
DATABASE_URL="postgres://user:password@..."
- Clone the repository
git clone https://github.com/Arekushi/anime-runners-api.git
- Install NPM packages
npm install
- Run in terminal
npm run build
- Start application
npm run start:prod
- All ready, the application is already running 🎉
- Creating models in Prisma
- Ranking Module
- Matches Service
- Matches Controller
- Test
You can see the generated schema below. Generated by dbdiagram.io platform
- Add header API key auth to your NestJS REST API
- How To Implement Passport.js in Nest.js: An Easy Tutorial
- Nest.js — Authenticate with both API Key and JWT
Alexandre Ferreira de Lima 💻 |
---|