Vaibe Arcade is a modern, AI-powered gaming platform and creator ecosystem. It features a rich catalog of games, real-time leaderboards, quest systems, and a dedicated zone for creators to manage their content and view analytics.
- Framework: React 18 with Vite
- Language: TypeScript
- Styling: Tailwind CSS + Radix UI
- State Management: TanStack Query (React Query)
- Icons: Lucide React & Heroicons
- Framework: FastAPI (Python)
- Database & Auth: Supabase (PostgreSQL)
- AI Integration: Google Generative AI (Gemini) & Replicate
- Middleware: CORS & GZip compression
- Hosting: Vercel (Frontend & Backend)
- Database: Supabase with migrations and real-time triggers
- ๐ฎ Game Hub: Integrated Unity game embeds with session tracking and ratings.
- ๐ Leaderboards: Dynamic weekly and all-time leaderboards with historical tracking.
- ๐บ๏ธ Quests & Raffles: Gamified user engagement through questing and raffle systems.
- ๐จ Creator Zone: A specialized dashboard for creators to manage games and view player insights.
- ๐ฐ Shop & Economy: Virtual currency system (Atomic Coins) with an integrated shop.
- ๐ค AI-Powered: Generative AI capabilities for asset creation and assistant features.
โโโ backend/ # FastAPI Python server
โ โโโ app/ # Main application logic
โ โ โโโ api/ # API endpoints (v1)
โ โ โโโ core/ # Config and security
โ โ โโโ crud/ # CRUD operations
โ โ โโโ db/ # Database (Supabase)
โ โ โโโ models/ # Database models
โ โ โโโ schemas/ # Pydantic schemas
โ โโโ main.py # Local development entry point
โโโ frontend/ # React + Vite application
โ โโโ src/ # Source code
โ โ โโโ components/ # Reusable UI components
โ โ โโโ contexts/ # React contexts (Auth, Game)
โ โ โโโ hooks/ # Custom React hooks
โ โ โโโ pages/ # Application views/routes
โโโ supabase/ # Migrations, seed data, and Edge Functions
โโโ scripts/ # Utility development scripts
- Node.js (v18+)
- Python (v3.11+)
- Supabase Account
-
Clone the repository:
git clone <repo-url> cd arcade
-
Install all dependencies:
# From the root directory npm run install:all -
Environment Setup: Create a
.envfile in thebackend/directory with the following:SUPABASE_URL=your_supabase_url SUPABASE_KEY=your_supabase_key GOOGLE_API_KEY=your_google_ai_key REPLICATE_API_TOKEN=your_replicate_token
-
Run Everything: Use the root commands to start both services.
# Frontend npm run dev # Backend npm run dev:backend
-
Manual Start:
# Frontend cd frontend && npm run dev # Backend cd backend && source .venv/bin/activate && uvicorn app.main:app --reload
The project is configured for seamless deployment on Vercel.
-
Frontend is deployed as a static site.
-
Backend is deployed as Serverless Functions via the
vercel.jsonconfiguration in the root.