AI-Agent Assisted
Tier 2Claude Code
Signals: README-built-with-claude-code
README
Split Pot
A real-time planning poker application built with Claude code, Svelte and Socket.io. Hosted at: Split Pot
Features
- Create or join poker rooms with a unique ID
- Real-time voting with multiple participants
- Reveal/hide votes functionality
- Reset voting for new rounds
- Calculates average of numeric votes
- Clean, responsive UI
π§ Local Development
Prerequisites
- Node.js 18+
- npm
Setup
-
Clone the repository:
git clone https://github.com/martinmeinke/splitpot.git cd splitpot -
Install dependencies:
npm install -
Create a local environment file:
cp .env.example .env.local -
Start the development server:
npm run dev
This will start both the frontend (Vite) and backend (Express) servers concurrently:
- Frontend: http://localhost:5173
- Backend: http://localhost:8080
π Deployment
The application is designed to be deployed as:
- Frontend on Netlify
- Backend on Fly.io
Deploying the Frontend (Netlify)
- Create a new site on Netlify
- Connect your repository
- Configure build settings:
- Build command:
npm run build - Publish directory:
dist
- Build command:
- Set environment variables:
VITE_BACKEND_URL: The URL of your deployed backend (e.g., https://your-app.fly.dev)
- Deploy!
Deploying the Backend (Fly.io)
-
Install the Fly.io CLI:
curl -L https://fly.io/install.sh | sh -
Login to Fly.io:
fly auth login -
Launch your app (first-time setup):
fly launch- This will use the existing
fly.tomlfile - Choose appropriate region
- This will use the existing
-
Set environment variables:
fly secrets set ALLOWED_ORIGINS=https://splitpot.netlify.app -
Deploy the app:
fly deploy
Usage
- Open the application in your browser
- Create a new room or join an existing one by entering the room ID
- Share the room ID with your team members
- Select your story point estimate by clicking on a card (options range from 0.5 to 8, with β indicating a coffee break)
- When everyone has voted, click "Reveal Votes" to show all estimates
- Click "Reset Votes" to start a new round
π Project Structure
βββ dist/ # Built frontend files
βββ public/ # Static public assets
βββ src/ # Frontend source code
β βββ lib/ # Svelte components
β βββ App.svelte # Main application component
β βββ main.js # Frontend entry point
βββ server.js # Backend server code
βββ vite.config.js # Vite configuration
βββ netlify.toml # Netlify configuration
βββ fly.toml # Fly.io configuration
βββ Dockerfile # Docker configuration for Fly.io
π Environment Variables
Frontend (.env.local)
VITE_BACKEND_URL: URL of the backend API
Backend
PORT: Port for the server (default: 8080)ALLOWED_ORIGINS: Comma-separated list of allowed CORS origins
βοΈ Technologies Used
- Frontend: Svelte 5, Vite, Bootstrap 5
- Backend: Express.js, Socket.IO
- Deployment: Netlify (frontend), Fly.io (backend)
Tags
built-with-claude-codesvelte
Similar Tools
Sharethis
VerifiedShare text and files via P2P and WebSockets
Claude Code
web appsRust
Homedashboard Test
VerifiedESP32 home assistant dashboard
Claude Code
web appsJavaScript
Life OS Template
Single HTML file life and business manager
Claude Code
web appsHTML
Kafka GUI Tool
VerifiedKafka GUI tool
Claude Code
web appsJavaScript
Snaike
GameBoy snake game
Claude Code
web appsPython
Deutsia Radio
Privacy-focused Android radio player
Claude Code
web appsKotlin