pnpm i
Start the development server on http://localhost:3000
:
pnpm dev
Build the application for production:
pnpm build
Locally preview production build:
pnpm preview
Check out the deployment documentation for more information.
Using Vercel, you can set environment variables in the project settings.
VAPID_PUBLIC_KEY
VAPID_PRIVATE_KEY
VAPID_EMAIL
DATABASE_URL
pnpx web-push generate-vapid-keys --json
Using PlanetScale, you can get the database URL in the database settings.
brew tap oven-sh/bun
brew install bun
Reference: https://github.com/oven-sh/homebrew-bun