Skip to content

swlho/v52-tier2-team-20-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v52-tier2-team-20-backend

Instructions to run the server locally:

  1. Clone down the repo
  2. Run npm install
  3. Create a .env file in the root folder and populate it with the following key/values:

PORT=3000
DATABASE_URL="mongodb+srv://v52team20:**[PASSWORD]**@cluster0.en5nt.mongodb.net/**[DATABASE_NAME]**?&retryWrites=true&w=majority&appName=Cluster0"

For the password and database name, refer to the Discord chat or message me

  1. Run npx prisma generate
  2. Run npm run dev

Visit http://localhost:3000/api/v1 for the list of available API endpoints

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published