Deprecated for about 4 months now but can serve as a nice little jump off point. Most interesting spot from a technical perspective is in lib.
The landing page and "server" that handles the magic behind TwoTone - Music.
We can start with giving everyone a song of the day and timeline. Songs of the day are eternal and persistent. After 100 they can be frozen.
Things to knock out for a minimal viable product. Something that's good enough to give to people
8/8/2023 - Started creating api routes to do the work of making supabase requests. It feels tedious but this is the most secure way I know to make requests to the cloud without committing keys to code. It could be sewn in during build time but I'm not a fan of that either. Should get a propper encryption going.
Cute lil health checks /api
Auth routes /api/auth
Song of the day fetch can be edge functions although that's unnecessary.
Once you've created a project and installed dependencies with yarn
, start a development server:
yarn dev
# or start the server and open the app in a new browser tab
yarn dev -- --open
To create a production version of your app:
yarn build
You can preview the production build with yarn preview
.
To deploy your app, you may need to install an adapter for your target environment.