This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun 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!
- Deploy this Next.js app to Vercel as usual.
- Set the environment variable
NEXT_PUBLIC_RELAY_URLto your Global P2P Relay URL (e.g.https://your-relay.up.railway.app). The relay is a separate WebSocket server—see../relay/README.mdfor running and deploying it (Railway, Render, Fly.io, etc.). - Without a relay, the app still builds; at runtime it will try to connect to
http://localhost:3001by default. For production, deploy the relay and setNEXT_PUBLIC_RELAY_URLaccordingly.