Skip to content

mhacks/dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard

A Next.js app backed by a local Supabase stack (Postgres + Auth) in Docker, with Drizzle ORM for the schema.

Prerequisites

  • pnpm — the only supported package manager
  • Docker, running (the local Supabase stack runs in containers)

Run it

pnpm install           # deps + the Supabase CLI
pnpm db:local          # boot the local Supabase stack (Docker)
pnpm db:env            # generate .env from the running stack
pnpm db:push           # apply the schema to the local db
pnpm dev               # serve the app

Open http://localhost:3000. Edit pages under app/; they hot-reload on save.

Docs

  • docs/development.md — the workflow: what to run and when, from a local change to shipping it to the shared remote.
  • docs/supabase.md — how Supabase is wired in: the local stack, the auth clients, and the magic-link flow.

Deploy

The app reads NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY, and DATABASE_URL from the environment. Set them on your hosting platform and redeploy — see docs/development.md for the full promotion flow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors