Quickstart
Install dependencies
Run npm install from the project root.
Configure environment
Copy .env.example to .env.local and fill only the services you are ready to connect.
Generate Prisma
Run npm run prisma:generate to prepare the ORM client.
Start development
Run npm run dev and open the local URL.
npm install npm run prisma:generate npm run dev
Authentication
The MVP supports local email sessions, Supabase GitHub OAuth when Supabase env keys are configured, and injected browser wallet login through window.ethereum.
Email session
GitHub OAuth
Wallet login
Core Features
Developer Profiles
Builder identity, GitHub links, wallets, skills, repos, bounty history, tips, and Bonk score.
Repo Wars
A battle arena where two projects compete through community Bonk votes and prize pools.
Token Tips
MVP tipping dashboard with simulated $GITBONK tx hashes and a wallet-ready UX.
AI Assistant
Chat surface and API route prepared for OpenAI integration.
API Reference
Database
Prisma models cover User, Post, BonkReaction, Repo, Bounty, Tip, RepoWar, and Comment. The app falls back to mock data until PostgreSQL is connected.
npm run prisma:generate npm run prisma:push
Deployment
Frontend
Deploy the Next.js app to Vercel. Set GITBONK_API_BASE_URL to the Hostinger backend URL.
Backend
Run the Node API service on Hostinger with systemd and expose the health endpoint.
vercel deploy --prod --yes systemctl status gitbonk-api.service
Public Safety
Public uploads must include source code, docs, brand assets, and configuration examples only. Never commit real passwords, tokens, private keys, Supabase service role values, Vercel project metadata, or local environment files.
