Skip to content

Public Slippi Ranked leaderboard for Washington

License

Notifications You must be signed in to change notification settings

Poyo-SSB/slippiwa

Repository files navigation

slippiwa

website which collects and displays ranks of washington melee players. built for vercel deployment with mongodb.

managing the database currently has no frontend and will require mongodb compass or a similar tool.

environment variables (.env/vercel)

  • MONGODB_URI: mongodb atlas should work fine

  • API_SECRET: make sure it's secure!

  • QSTASH_CURRENT_SIGNING_KEY: i use qstash to post to the /api/update endpoint every two hours

  • QSTASH_NEXT_SIGNING_KEY: these are used to verify that a request is actually coming from qstash!

  • PUBLIC_CONTACT: contact listed on the /register endpoint

github secrets

  • API_SECRET: api secret from above!
  • API_UPDATE_URL: the live endpoint to post to, for manual github actions

mongo

create a cluster named "web" before running!