Skip to content

Latest commit

ย 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿธ PIBA โ€” Shuttle Club Manager

A modern badminton club management app built with React + Vite + Supabase.

Manage events, members, expenses, and finances for your badminton club โ€” with an AI-powered chat assistant.

Features

  • Events โ€” Create, edit, and track badminton sessions with costs and pricing
  • Members โ€” Manage club membership list with fee tracking
  • Expenses โ€” Track one-off costs (shuttlecocks, equipment) split among members
  • Attendees โ€” Record who played at each event with payment tracking
  • AI Chat โ€” Natural language assistant for managing events, members, and expenses
  • Financial Summary โ€” Per-event income/cost breakdown by payment method

Setup

1. Clone & Install

git clone https://github.com/nischay-dhiman/piba.git
cd piba
npm install

2. Environment Variables

Copy the example env file and fill in your keys:

cp .env.example .env

Required variables:

  • VITE_SUPABASE_URL โ€” Your Supabase project URL
  • VITE_SUPABASE_ANON_KEY โ€” Your Supabase anon/public key
  • VITE_OPENROUTER_API_KEY โ€” Your OpenRouter API key (for the AI chat)

3. Database Setup

Run these SQL files in your Supabase SQL Editor (Dashboard โ†’ SQL Editor โ†’ New Query):

  1. supabase-schema.sql โ€” Core tables (members, events, attendees)
  2. supabase-expenses.sql โ€” Expenses extension (expenses, expense_splits)

4. Run Locally

npm run dev

Tech Stack

  • Frontend: React 19, React Router, Lucide Icons
  • Styling: Custom CSS design system (dark glassmorphism theme)
  • Backend: Supabase (PostgreSQL + Auth + RLS)
  • AI: OpenRouter (Vercel AI SDK) with tool-calling agents
  • Build: Vite 8

Deployment

This app is configured for static hosting. Build with:

npm run build

The output in dist/ can be deployed to DigitalOcean App Platform, Vercel, Netlify, or any static host.

Note: Set environment variables in your hosting platform's settings โ€” never commit .env files.

About

๐Ÿธ Shuttle Club Manager โ€” Badminton club events, members, expenses & AI chat

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages