web application that tracks your daylists as they rotate so they can be brought back as a playlist at any point in time
the application can be viewed at https://daylist-rewind.physicsbirds.dev/login. (pending spotify api access approval)
output.mp4
- next.js
- shadcn ui
- tailwind
- pocketbase (sqlite)
- golang backend
I'm still working on getting an easily reproducible dev environment but the general steps are
- create a spotify app from the developer dashboard
- set
SPOTIFY_ID
andSPOTIFY_SECRET
in your .env - set
REDIRECT_URI
to localhost:3000/api/oauth-callback docker compose -f docker-compose.dev.yml up
builds and runs the docker containers based on the local directory- navigate to localhost:8080/_/ and create a login then use the
pocketbase_tables.json
- create a new admin user and place their set
ADMIN_USER
andADMIN_PASSWORD
in .env - to develop the frontend/backend independently you can set
BACKEND_URL
to localhost:8080 and runnpm install
thennpm run dev
for the frontend andcd backend
thengo run main.go
for the backend. - For the database, you can set
POCKETBASE_URL
to localhost:8090 and run
docker run -d \
--name daylist-rewind-database-dev \
--restart unless-stopped \
-p 8090:8090 \
-v $(pwd)/pb/pb_data:/pb_data \
-v $(pwd)/pb/pb_public:/pb_public \
ghcr.io/muchobien/pocketbase:latest