Hyprnote
Developers

Run

Development

How to run the app?

  • We use pnpm for workspace management and package management.

Desktop (apps/desktop)

npx turbo -F @hypr/desktop tauri:dev

or

pnpm -F ui build && pnpm -F desktop tauri dev

Web (apps/web)

pnpm -F web dev

API (apps/api)

pnpm -F api dev

Supabase

task supabase-start
task supabase-stop
  • task supabase-start will modify apps/api/.env and apps/web/.env based on the output of supabase start.
  • We generate supabase/config.toml dynamically based on the environment variables, and it is gitignored.
  • Currently, GITHUB_CLIENT_SECRET and GITHUB_CLIENT_ID is supported to enable GitHub OAuth.
  • It is important to set <SUPABASE_URL>/auth/v1/callback as redirect URI in your OAuth application settings.

Stripe

task stripe
  • task stripe will modify apps/api/.env based on the output of stripe listen.