Skip to content

bobhenl/trivago-auth-api-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trivago Authentication - API

Live: https://trivago.gangoo.eu

API: https://api-trivago.gangoo.eu

Tech Stack:

Express.js Prisma Postgres JWT

.env file setup

  1. Start by making a copy of .env.example in the same directory and rename it to just .env
  2. For instance, you might have variables like API_KEY, SECRET_KEY, or DATABASE_URL. Ensure that you provide the correct values for these variables to avoid any issues later.

Project setup

Install dependencies

  npm install

Start server

  npm start

DB setup

Generate Prisma Client

  npx prisma generate

Create and apply a new migration

  npx prisma migrate dev

Open visual editor for the data in your database

  npx prisma studio

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published