Skip to content

Latest commit

ย 

History

705 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Jep!

Play Jeopardy! online with your friends at Jep!. Choose from past games or make your own. Just share the link to play with friends.

๐ŸŒŽ Play a game: https://whatis.club

๐Ÿ“ฐ Read the blog post: https://clairenord.com/jep.html

Development

To run the app locally, first install Docker.

Next, run the project setup script to install its locked dependencies:

./scripts/setup.sh

Start the Supabase project:

pnpm db:start

Set environment variables. In particular, set SUPABASE_URL, SUPABASE_ANON_KEY, and SUPABASE_SERVICE_ROLE_KEY from the results of pnpm exec supabase status, and replace SESSION_SECRET with a long random value.

vim .env.local
pnpm exec varlock load

Afterwards, start the development server like so:

pnpm dev

Open up http://localhost:3000 and you should be ready to go!

If Docker was stopped while Supabase was running, the CLI may report that the project is already running even though its containers are exited. Recover the local stack without deleting its data with:

pnpm db:restart

Conductor

The shared Conductor configuration installs locked dependencies when a workspace is created. On Linux, setup accepts any running Docker-compatible runtime and can bootstrap Docker in dnf-based sandboxes; other environments are expected to provide their own runtime.

Local worktrees share one Docker stack with fixed ports. Cloud workspaces run their own stack.

Supabase

View the local Supabase dashboard at http://localhost:54323/.

View mock emails sent for password reset and email verification at http://localhost:54324/.

Link to your own production Supabase project with:

pnpm db:link

Make a migration1

pnpm db:migration:new my_migration_name

Deploy a migration2

pnpm db:push

Generate Typescript types from the database schema:

pnpm db:types

Tools used

Thanks

License

MIT ยฉ cmnord

Footnotes

  1. https://supabase.com/docs/guides/cli/local-development#database-migrations โ†ฉ

  2. https://supabase.com/docs/guides/cli/local-development#deploy-database-changes โ†ฉ

About

๐ŸŒŽ Jep! multiplayer trivia online

Topics

Resources

Stars

14 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages