- Docker
- Bun
- Supabase CLI
supabase start
supabase db reset
In Supabase > storage
, create bucket avatars
for player's avatar and songs
for level's song
Before running the following command, make sure to create a .env
file at the project root and define all variable mentioned in .env.example
.
bun install
bun run dev
Local development server is avaliable on localhost:8080
. Documentation is avaliable at /docs
.
Follow this tutorial from Supabase.
- Use service like Azure container app or Google cloud run and deploy this docker container:
ghcr.io/nampe286/dlvn-api-v3-ghcr:latest
. - Define all environment variable mentioned in
.env.example
. - You are ready to go!
- Note: If you want to update the API, you have to pull new docker image manually.