Skip to content

thepeacockproject/leaderboard-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0e3db2f · Jul 15, 2024

History

4 Commits
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024
May 27, 2024

Repository files navigation

Leaderboard server

This is a basic leaderboard server for The Peacock Project

Setup

yarn install # install dependencies
yarn prisma generate
# Modify to match your postgres setup
export DATABASE_URL = $env:DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE"
yarn prisma migrate dev # setup the database
yarn build
node ./build/main # start the server