The smartest prediction betting platform with top odds and instant payouts.
Features • Tech Stack • Getting Started • Contributing • License
Predix is a cutting-edge decentralized betting platform where users can predict outcomes and win instantly. Designed with a modern UI/UX, Predix allows users to participate in trade-based betting with ease and speed.
- 🎲 Real-time prediction-based betting system
- ⚡ Instant order execution with live trading interface
- 💸 Token-based balance tracking
- 🔒 Google OAuth-based authentication
- 📊 Event-based prediction market
- 🔔 Real-time updates using WebSockets
- 🌐 Responsive and elegant UI built with TailwindCSS
- Next.js 14 (App Router)
- TypeScript
- TailwindCSS
- Shadcn UI
- Socket.io (WebSocket support)
- Axios
- Node.js + Express (WS Server)
- Redis (for real-time market data pub/sub)
- Prisma (PostgreSQL ORM)
- Node.js (>=18.x)
- Redis
- PostgreSQL
- pnpm / yarn / npm
git clone https://github.com/Manav2209/Predix.git
cd Predix
pnpm installCreate a .env file based on .env.example and provide:
DATABASE_URL=postgresql://...
GOOGLE_CLIENT_ID=...
GOOGLE_CLIENT_SECRET=...
NEXTAUTH_SECRET=...
NEXTAUTH_URL=http://localhost:3000
REDIS_URL=redis://localhost:6379pnpm devBackend (WebSocket server):
cd apps/ws
pnpm dev.
├── apps/
│ ├── next/ # Frontend App (Next.js)
│ └── ws/ # Backend WebSocket Server
├── packages/
│ ├── config/ # Shared config
│ └── ui/ # Shared UI components
├── prisma/ # DB schema and migrations
└── README.mdContributions are welcome! Please fork the repo and submit a pull request.
This project is licensed under the MIT License.
Thanks to all open-source libraries and tools used in this project. Special thanks to the betting community and contributors for feature inspiration.
.png)
.png)