/planning-poker-svelte

Planning poker, in Sveltekit w/Skeleton UI

Primary LanguageTypeScript

Planning Poker


This is an implementation of a simple Planning Poker app that was built with SkeletonUI (Sveltekit & TailwindCSS) and Supabase that was inspired by a simple React app created by mpaulweeks.

This implementation uses Supabase's Realtime APIs (essentially websockets) and avoids data persistence and does not require auth. Due to this approach, a few compromises were made with the way state was managed. The room and realtime code could also probably use some cleaning up...and someday tests.

I will also note that Supabase does not seem to think Realtime usage counts as activity, so they routinely shutdown my free Supabase cloud instance - so I cannot always promise the deployed version will be working :)

TODO

  • room passwords
  • db support?

Developing

To run, you will need a .env file with the following:

PUBLIC_SUPABASE_ANON_KEY=""  
PUBLIC_SUPABASE_URL=""

Once you've added those and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open