{"id":29201840,"url":"https://github.com/pythonicforge/fleetcode","last_synced_at":"2026-01-20T16:22:50.083Z","repository":{"id":295467695,"uuid":"990195601","full_name":"pythonicforge/fleetcode","owner":"pythonicforge","description":"🟢 A real-time coding platform featuring matchmaking, live status updates, and code evaluation.","archived":false,"fork":false,"pushed_at":"2025-05-29T08:41:38.000Z","size":2539,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-02T12:07:29.852Z","etag":null,"topics":["fastapi","javacsript","python","supabase","websockets"],"latest_commit_sha":null,"homepage":"https://fleetcode.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pythonicforge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-25T17:36:12.000Z","updated_at":"2025-06-16T18:29:18.000Z","dependencies_parsed_at":"2025-05-25T18:45:49.338Z","dependency_job_id":"5181bc23-e439-4738-9f1b-146e32400eaa","html_url":"https://github.com/pythonicforge/fleetcode","commit_stats":null,"previous_names":["pythonicforge/fleetcode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pythonicforge/fleetcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonicforge%2Ffleetcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonicforge%2Ffleetcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonicforge%2Ffleetcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonicforge%2Ffleetcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonicforge","download_url":"https://codeload.github.com/pythonicforge/fleetcode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonicforge%2Ffleetcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28606909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi","javacsript","python","supabase","websockets"],"created_at":"2025-07-02T12:07:27.985Z","updated_at":"2026-01-20T16:22:50.068Z","avatar_url":"https://github.com/pythonicforge.png","language":"JavaScript","readme":"# fleetcode\n\nA full-stack application blending a React frontend and Python FastAPI backend for collaborative coding, competitive programming, or coding interview-style practice.\n\nBuilt during a hackathon, **fleetcode** aims to bring the thrill of real-time 1v1 competitive coding to life — think *LeetCode meets Chess.com*. Whether you're grinding interview prep, battling friends, or building your rating, fleetcode makes it fast, real-time, and fun.  \n\n\u003e No lobbies. No delays. Just code, compete, and climb.\n\nThis repository is organized into two main parts:\n\n- **client/** – Frontend (React)\n- **server/** – Backend (FastAPI/Python)\n\n\u003cbr/\u003e\n\n## Table of Contents\n\n- [Project Structure](#project-structure)\n- [Features](#features)\n- [Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n- [Development](#development)\n  - [Running the Client](#running-the-client)\n  - [Running the Server](#running-the-server)\n- [Tech Stack](#tech-stack)\n- [Directory Overview](#directory-overview)\n- [Contributing](#contributing)\n- [License](#license)\n\n\u003cbr/\u003e\n\n## Project Structure\n\n```\n.\n├── client/      # React frontend\n│   ├── public/  # Static assets\n│   ├── src/     # Source code (components, routes, etc.)\n│   └── ...      # Configs, package.json, etc.\n├── server/      # FastAPI backend\n│   ├── routers/ # API endpoints (user, match, judge, etc.)\n│   ├── schemas/ # Pydantic models\n│   ├── services/# Business logic (judging, matchmaking, rating)\n│   ├── utils/   # Utility modules\n│   └── ...      # main.py, requirements.txt, etc.\n├── README.md\n```\n\n\u003cbr/\u003e\n\n## Features\n\n- **Real-time Coding**: Collaborative and competitive coding sessions.\n- **Matchmaking**: Match users for coding duels or practice.\n- **Code Judging**: Submit solutions and get automatic feedback.\n- **User System**: User authentication and management.\n- **Live Updates**: Sockets for real-time updates.\n- **Leaderboard/Rating**: Track your progress and compete.\n\n\u003cbr/\u003e\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18+ recommended)\n- Python 3.8+\n- [pip](https://pip.pypa.io/)\n- [Vite](https://vitejs.dev/) (for frontend, installed via npm)\n- (Optional) Docker\n\n### Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/pythonicforge/fleetcode.git\n   cd fleetcode\n   ```\n\n2. **Install Client Dependencies:**\n   ```bash\n   cd client\n   npm install\n   ```\n\n3. **Install Server Dependencies:**\n   ```bash\n   cd ../server\n   pip install -r requirements.txt\n   ```\n\u003cbr/\u003e\n\n## Development\n\n### Running the Client\n\nFrom the `client/` directory:\n```bash\nnpm run dev\n```\n- Configured with Vite (`vite.config.js`)\n- Main entry: `src/main.jsx`\n- Protected routes, authentication, and main logic in `src/`\n\n### Running the Server\n\nFrom the `server/` directory:\n```bash\nuvicorn main:app --reload\n```\n- Main entry: `main.py`\n- Routers define API endpoints (e.g., `routers/match.py`, `routers/submission.py`)\n- Models in `schemas/`, business logic in `services/`, helpers in `utils/`\n\n\u003cbr/\u003e\n\n## Tech Stack\n\n- **Frontend**: React, Vite, JavaScript/JSX, CSS\n- **Backend**: Python, FastAPI, Pydantic\n- **Communication**: REST, WebSockets (for real-time features)\n- **Other**: ESLint, Vercel config for deployment\n\n\u003cbr/\u003e\n\n## Directory Overview\n\n### Client\n\n- `index.html`: Entry HTML.\n- `src/`: App source code\n  - `App.jsx`: Main React app component\n  - `Protectedroute.jsx`: For protected routing\n  - `components/`: UI components\n- `public/`: Static assets (e.g., `vite.svg`)\n- `package.json`, `package-lock.json`: NPM configs\n- `eslint.config.js`: Linting\n- `vite.config.js`: Vite setup\n- `vercel.json`: Deployment config\n\nSee [client/](https://github.com/pythonicforge/fleetcode/tree/master/client) for all files.\n\n### Server\n\n- `main.py`: FastAPI app startup\n- `requirements.txt`: Python dependencies\n- `routers/`: API endpoints\n  - `match.py`, `match_socket.py`, `submission.py`, `user.py`, `judge.py`\n- `schemas/`: Pydantic models (`user.py`, `match.py`, `submission.py`, etc.)\n- `services/`: Core logic (`judge_client.py`, `matchmaking.py`, `rating.py`, `supabase_client.py`)\n- `utils/`: Helpers (`connection_manager.py`)\n\nSee [server/](https://github.com/pythonicforge/fleetcode/tree/master/server) for all files.\n\n\u003cbr/\u003e\n\n## Contributing\n\nContributions are welcome! Please open issues or pull requests via GitHub.\n- Follow standard code style (ESLint/Prettier for JS, Black for Python).\n- Add documentation/comments to your code.\n- Run tests and make sure code builds before submitting.\n\n\u003cbr/\u003e\n\n## License\n\nDistributed under the MIT License. See [LICENSE](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicforge%2Ffleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonicforge%2Ffleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicforge%2Ffleetcode/lists"}