Skip to content

jgravois/court-dibs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

what is this?

view it live: https://courtdibs.com

Court dibs is a simple app for making court reservations. A login is not required to view the upcoming calendar.

features

  • geofenced signup
  • one click, passwordless login
  • dynamic dusk calculation
  • fast page loads, instant transitions

setup

npm install
npm run setup
cp .env.example .env
  1. signup for Stytch
  2. create a test project
  3. plug the API keys into the .env file you just created.

testing

to take the app for a test drive, you can log into the staging environment as [email protected]

development

npm run dev
open http://localhost:3000

This starts the app in development mode, rebuilding assets on file changes.

If you plan on running the app somewhere other than http://localhost:3000, you'll need to supply your own Google Maps API Key.

Connecting to your local database

i'm no SQL nerd. locally i use TablePlus

Database path: .../court-dibs/prisma/sqlite.db

credits

https://remix.run/resources/indie-stack#quickstart