{"id":20795113,"url":"https://github.com/dchobarkar/algorithmic-contest-platform","last_synced_at":"2026-02-09T00:03:59.601Z","repository":{"id":250829450,"uuid":"829283267","full_name":"dchobarkar/algorithmic-contest-platform","owner":"dchobarkar","description":"A Dockerized platform for solving coding challenges and participating in algorithmic contests, inspired by Codeforces.","archived":false,"fork":false,"pushed_at":"2024-08-15T08:07:17.000Z","size":1054,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T00:45:16.107Z","etag":null,"topics":["docker","docker-compose","github-actions","judge0","nextjs","nodejs","postgresql","prisma-orm","react","redis","tailwindcss"],"latest_commit_sha":null,"homepage":"https://algorithmic-contest-platform.darshanwebdev.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dchobarkar.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":"2024-07-16T06:06:57.000Z","updated_at":"2025-01-25T20:41:08.000Z","dependencies_parsed_at":"2025-05-06T00:31:24.070Z","dependency_job_id":"2b9873f6-f338-4d41-a0a0-3be8df93d009","html_url":"https://github.com/dchobarkar/algorithmic-contest-platform","commit_stats":null,"previous_names":["dchobarkar/algorithmic-contest-platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dchobarkar/algorithmic-contest-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Falgorithmic-contest-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Falgorithmic-contest-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Falgorithmic-contest-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Falgorithmic-contest-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dchobarkar","download_url":"https://codeload.github.com/dchobarkar/algorithmic-contest-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dchobarkar%2Falgorithmic-contest-platform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268463418,"owners_count":24254196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","docker-compose","github-actions","judge0","nextjs","nodejs","postgresql","prisma-orm","react","redis","tailwindcss"],"created_at":"2024-11-17T16:19:49.350Z","updated_at":"2026-02-09T00:03:59.595Z","avatar_url":"https://github.com/dchobarkar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Algorithmic Contest Platform\r\n\r\n## About the Project\r\n\r\nAlgorithmic Contest Platform is a coding platform similar to Codeforces. Users can log in and solve problems from a set of available pools. Additionally, users can participate in coding contests hosted on the platform.\r\n\r\n## Features\r\n\r\n- User authentication and authorization.\r\n\r\n- Problem-solving from a curated pool of challenges.\r\n\r\n- Participation in real-time coding contests.\r\n\r\n- Judge0 integration for automated code execution and evaluation.\r\n\r\n- Dockerized setup for easy deployment and scaling.\r\n\r\n## Tech Stack\r\n\r\n- **Frontend:** React, Next.js, Tailwind CSS\r\n\r\n- **Backend:** Node.js, Next.js, Prisma ORM\r\n\r\n- **Database:** PostgreSQL\r\n\r\n- **CI/CD:** GitHub Actions (Optional)\r\n\r\n- **Containerization:** Docker, Docker Compose\r\n\r\n- **Others:** Redis, Judge0 API\r\n\r\n## Getting Started\r\n\r\nTo get a local copy up and running, follow these steps.\r\n\r\n### Local Development Setup\r\n\r\n#### All Services Within Docker\r\n\r\n\u003e **Note:** Do not update any of the `.env` files for this particular configuration, except for the mount path for the problems directory.\r\n\r\n1. Update the `##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR##` in the `docker-compose` file.\r\n2. Start the services:\r\n   ```sh\r\n   docker-compose up -d\r\n   ```\r\n3. Install dependencies:\r\n   ```sh\r\n   pnpm install\r\n   ```\r\n4. Copy the `.env` files:\r\n   ```sh\r\n   cp apps/web/.env.example apps/web/.env\r\n   cp packages/db/.env.example packages/db/.env\r\n   ```\r\n5. Update the mount path in `apps/web/.env`.\r\n6. Migrate the database and install the local package:\r\n   ```sh\r\n   pnpm dlx turbo db:migrate \u0026\u0026 yarn install\r\n   ```\r\n7. Start the development server:\r\n   ```sh\r\n   pnpm dev\r\n   ```\r\n\r\n### **Own Configuration**\r\n\r\n1. **Configure the `judge0.conf`:**\r\n\r\n   - Update the `POSTGRES` and `REDIS` configurations based on your local databases.\r\n   - Update the `##YOUR_LOCAL_PATH_TO_PROBLEMS_DIR##` in the `docker-compose` file.\r\n\r\n2. **Start only Judge0 service:**\r\n\r\n   ```sh\r\n   docker-compose up server workers -d\r\n   ```\r\n\r\n3. **Install dependencies:**\r\n\r\n   ```sh\r\n   pnpm install\r\n   ```\r\n\r\n4. **Copy `.env` files and configure them with the same configurations you updated in the `judge0.conf`:**\r\n\r\n   ```sh\r\n   cp apps/web/.env.example apps/web/.env\r\n   cp packages/db/.env.example packages/db/.env\r\n   ```\r\n\r\n5. **Update the mount path in `apps/web/.env`.**\r\n\r\n6. **Migrate the database and install the local package:**\r\n\r\n   ```sh\r\n   pnpm dlx turbo db:migrate \u0026\u0026 yarn install\r\n   ```\r\n\r\n7. **Start the development server:**\r\n   ```sh\r\n   pnpm dev\r\n   ```\r\n\r\n\u003e **Note:** If you use Judge0 in Windows, change the mount path to use `\\` instead of `/` for the mounting of `judge0.conf` and the mounting of problems.\r\n\r\n## **Usage**\r\n\r\n- Visit `http://localhost:3000` after starting the Docker containers.\r\n- Log in or sign up.\r\n- Start solving problems or join ongoing contests.\r\n- View your submission results and rankings in real-time.\r\n\r\n## **Docker Setup**\r\n\r\nThe platform is fully containerized with Docker. To get started:\r\n\r\n1. Build and start the Docker containers:\r\n\r\n   ```sh\r\n   docker-compose up --build\r\n   ```\r\n\r\n2. The platform will be available at `http://localhost:3000`.\r\n\r\n## **Contributing**\r\n\r\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\r\n\r\nIf you have suggestions for improvements, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\r\n\r\n1. Fork the Project\r\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\r\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\r\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\r\n5. Open a Pull Request\r\n\r\n## **License**\r\n\r\nDistributed under the MIT License. See `LICENSE.txt` for more information.\r\n\r\n## Contact\r\n\r\nDarshan Chobarkar - [@dchobarkar](https://www.linkedin.com/in/dchobarkar/) - [@barbatos\\_\\_08](https://twitter.com/barbatos__08) - contact@darshanwebdev.com\r\n\r\nProject Link: [https://github.com/dchobarkar/algorithmic-contest-platform](https://github.com/dchobarkar/algorithmic-contest-platform)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchobarkar%2Falgorithmic-contest-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdchobarkar%2Falgorithmic-contest-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdchobarkar%2Falgorithmic-contest-platform/lists"}