https://projeto-driven-pass.herokuapp.com
https://projeto-driven-pass.herokuapp.com/api-docs/#/
Clone the project
git clone https://github.com/marykarakida/projeto19-drivenpass-back
Go to the project directory
cd projeto19-drivenpass-back/
Install dependencies
npm install
Create database
npm prisma generate dev
Start the server
npm run start
To run this project, you will need to add the following environment variables to your .env file
- if not provided, 4000 is the default port
- database connection string
- pgsql format: postgresql://[user[:password]@][netloc][:port][/dbname]
- database connection string
- second, temporary database that is created and deleted automatically each time you run a development-focused command and is primarily used to detect problems such as schema drift
- pgsql format: postgresql://[user[:password]@][netloc][:port][/dbname]
- secret key to hash/encrypt data
- as suggestion to generate key, run in your terminal:
node
require("crypto").randomBytes(64).toString("hex")
import thunder-collection_drivenpass.json
and thunder-environment_drivenpass.json
in thunderclient
- accessToken
- refreshToken
- BASE_URL