Skip to content

xvvvyz/llog

Repository files navigation

llog

Development Setup

Install Git, Node, bun and Docker, then:

git clone git@github.com:xvvvyz/llog.git
cd llog
bun i
bun db:start # outputs supabase url & key

Add the following to your .env file:

NEXT_PUBLIC_SUPABASE_ANON_KEY=<SUPABASE_ANON_KEY>
NEXT_PUBLIC_SUPABASE_URL=<SUPABSE_API_URL>

Generate types and start the dev server:

bun db:types
bun dev

If you modify the database schema:

bun db:types
bun db:diff -- -f migration-description

Production Notes

Vercel common secrets:

  • LEMON_SQUEEZY_STORE_ID

Vercel environment secrets:

  • LEMON_SQUEEZY_API_KEY
  • LEMON_SQUEEZY_VARIANT_ID
  • LEMON_SQUEEZY_WEBHOOK_SECRET
  • RESEND_API_KEY
  • SUPABASE_SERVICE_KEY

GitHub repo secrets:

  • SUPABASE_ACCESS_TOKEN
  • VERCEL_ORG_ID
  • VERCEL_PROJECT_ID
  • VERCEL_TOKEN

GitHub environment secrets:

  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • NEXT_PUBLIC_SUPABASE_URL
  • SUPABASE_DB_PASSWORD
  • SUPABASE_PROJECT_ID

Supabase settings:

  • Add custom SMTP server
  • Update auth providers
  • Update email templates
  • Update url config
  • Enable realtime (notifications table)
  • Remove GraphQL api

Other settings:

  • Update next.config.js remotePatterns

About

Collaborative behavior modification.

Resources

License

Stars

Watchers

Forks