Skip to content

Malkavianson/vampireapi

Repository files navigation

Vampire: The Masquerade Stat Sheet Generator

NEST API created for students purpose

Yarn TypeScript ESLint NestJS MongoDB Heroku

Pre requisites

  • Node with version greater than or equal to 16.15.0 - Node Download
  • Yarn with version greater than or equal to 2.5.7 - Yarn Download
  • Nest.js with version greater than or equal to 8.5.5 - Nest Download

Available scripts

In the project root folder, the following commands can be executed:

Installing the dependencies:

$ yarn

Running the project

Mounting

yarn build

Production

yarn production

Development

yarn dev

To be able to work with the database you must create an .env file and add a connection url string with the DATABASE_URL key. Example:

DATABASE_URL="mongodb+srv://user:<pass>@database.alwism3.mongodb.net/test"

Go to http://localhost:3333 to view it in your browser locally

Functionalities

Autor

License

  • MIT License (MIT)

Execution

Generate new resources route

  • nest g resource {nome} --no-spec

Generate file.d.ts in PRISMA

  • prisma generate

Push database

  • prisma db push

About

Vampire the Masquerade NPC generator

Topics

Resources

Stars

Watchers

Forks

Languages