Skip to content
/ jep Public
forked from cmnord/jep

🌎 Jep! multiplayer trivia online

License

Notifications You must be signed in to change notification settings

neilmovva/jep

This branch is 25 commits behind cmnord/jep:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9783875 Β· Dec 23, 2023
Jul 25, 2023
Sep 21, 2023
Sep 21, 2023
Sep 5, 2023
Dec 23, 2023
Feb 16, 2023
Jul 25, 2023
Aug 21, 2023
Jul 25, 2023
Jul 25, 2023
Feb 14, 2023
Dec 23, 2023
Mar 15, 2023
Dec 23, 2023
Dec 23, 2023
Sep 21, 2023
Feb 12, 2023
Mar 2, 2023
Sep 7, 2023
Mar 16, 2023
Feb 16, 2023

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, install the project's local dependencies:

npm install

Start the Supabase project:

npx supabase start

Set environment variables. In particular, set SUPABASE_URL, SUPABASE_ANON_KEY, and SUPABASE_SERVICE_ROLE_KEY from the results of npx supabase status.

cp .env.example .env
vim .env # add secrets to .env
source .env

Afterwards, start the Remix development server like so:

npm run dev

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

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:

npx supabase link --project-ref $SUPABASE_PROJECT_REF --password $SUPBABASE_DB_PASSWORD

Make a migration1

npx supabase db diff -f my_migration_name

Deploy a migration2

npx supabase db push

Generate Typescript types from the database schema:

npx supabase gen types typescript --linked > app/models/database.types.ts

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.8%
  • JavaScript 1.4%
  • CSS 0.8%