Note
Documentation is WIP
Important
To use GitHub auth, you need to create an OAuth app on GitHub and add the client ID and secret to the .env
file at the root of the project.
SUPABASE_AUTH_GITHUB_CLIENT_ID=
SUPABASE_AUTH_GITHUB_SECRET=
Once done, you can restart the Supabase project with supabase stop
and supabase start
.
- Start Supabase locally with
supabase start
and wait until it's done. - Create a
.env
file with the required variables by runningcp .env.example .env
. It already contains all the required environment variables and their values.- NB:
DATABASE_URL_MIGRATE
, on production, it should point to the port5432
of your db instance.
- NB:
npm install
cd apps/drizzle-run
- Apply Drizzle migrations
npm run db:server:migration:deploy
- Run
npm run dev
to start the development server
It's a npm workspace monorepo, everything is linked together so if you make changes to packages/*
, they will be reflected in the app.