Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 623 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 623 Bytes

rate-app-server

Backend server for esrapp Built with node express

Stack

Prisma - ORM Express

Security

JWT Helmet

Features

Installation

  • Clone the repo
npm install 
  • Setup env variables

    • COOKIE_SECRET
    • JWT_EXPIRATION_MS
    • JWT_SECRET
    • DATABASE_URL
  • Change database datasource Default is Mongodb Depending on the datasource chosen you have access to different prisma cli commands please refer to prisma docs

  • Install the prisma client

npm run generate  

  • Start the server
npm run dev