This is a Next.js project bootstrapped with create-next-app.
Copy .env.example to .env.local and set the required values:
NEXT_PUBLIC_PRIVY_APP_IDandPRIVY_APP_ID(must match)PRIVY_VERIFICATION_KEY(from the Privy dashboard)PRIVY_APP_SECRET(required for profile metadata updates)- Optional:
NEXT_PUBLIC_PRIVY_CLIENT_ID - Optional:
NEXIS_CLOUD_API_URL/NEXIS_CLOUD_API_VERSION - Optional service adapters:
NEXIS_BILLING_API_URL,NEXIS_TEAMS_API_URL,NEXIS_AGENTS_API_URL - Optional API adapters:
NEXIS_API_KEYS_API_URL,NEXIS_API_USAGE_URL,NEXIS_TRUST_CENTER_API_URL - Optional observability:
SENTRY_DSN/NEXT_PUBLIC_SENTRY_DSN,NEXT_PUBLIC_POSTHOG_KEY,NEXT_PUBLIC_PLAUSIBLE_DOMAIN
First, run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
This project uses PostgreSQL with Prisma ORM.
- Ensure you have a PostgreSQL database running.
- Update
.env.localwith yourDATABASE_URL. - Run migrations:
pnpm exec prisma migrate devThis project is configured for deployment on Railway.
- Click the "Deploy on Railway" button.
- Railway will import the repository and automatically provision a PostgreSQL database.
- The
DATABASE_URLenvironment variable will be automatically linked. - Required environment variables will be prompted (refer to
.env.example).
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.