{"id":15142615,"url":"https://github.com/victorgoubet/capitalquest","last_synced_at":"2026-01-24T02:02:48.481Z","repository":{"id":256596031,"uuid":"855808815","full_name":"VictorGoubet/capitalquest","owner":"VictorGoubet","description":"The best capital quizz of the world","archived":false,"fork":false,"pushed_at":"2024-10-07T15:31:48.000Z","size":807,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T04:12:43.336Z","etag":null,"topics":["api","capital","fastapi","pydantic","python","quizz","streamlit","webapp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/VictorGoubet.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}},"created_at":"2024-09-11T13:48:08.000Z","updated_at":"2024-10-09T17:56:00.000Z","dependencies_parsed_at":"2024-09-12T00:35:28.772Z","dependency_job_id":"1cf9dbcc-b557-441c-8318-84f748572c3a","html_url":"https://github.com/VictorGoubet/capitalquest","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.30000000000000004","last_synced_commit":"e8d468d8189f3b0d39541ab6ed9abccaa6728371"},"previous_names":["victorgoubet/capitalquest"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictorGoubet%2Fcapitalquest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictorGoubet%2Fcapitalquest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictorGoubet%2Fcapitalquest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VictorGoubet%2Fcapitalquest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VictorGoubet","download_url":"https://codeload.github.com/VictorGoubet/capitalquest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246368661,"owners_count":20766059,"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","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":["api","capital","fastapi","pydantic","python","quizz","streamlit","webapp"],"created_at":"2024-09-26T09:43:09.516Z","updated_at":"2026-01-24T02:02:48.388Z","avatar_url":"https://github.com/VictorGoubet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://capitalquest-nvde.onrender.com/\"\u003e\n    \u003cimg src=\"assets/logo.png\" alt=\"Capital Quest Logo\" width=\"200\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eCapital Quest\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Test your knowledge of world capitals with this interactive quiz game!\u003cbr\u003e\n  \u003ca href=\"https://capitalquest-nvde.onrender.com/\"\u003e· Play here ·\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/VictorGoubet/capitalquest/actions/workflows/ci.yml\"\u003e\n    \u003cimg src=\"https://github.com/VictorGoubet/capitalquest/actions/workflows/ci.yml/badge.svg\" alt=\"CI Pipeline\" title=\"Status of the last deployment on Production environment\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Table of Contents 📙\n- [Play the Game](#play-the-game-)\n- [Installation for Developers](#installation-for-developers-)\n  - [Prerequisites](#prerequisites)\n  - [Option 1: Git Clone](#option-1-git-clone-)\n  - [Option 2: Docker](#option-2-docker-)\n\n\u003cbr\u003e\n\n## Play the Game 🌍\n\nPlay Capital Quest [here][game-url]\n\n## Installation for Developers 🛠️\n\nIf you want to run Capital Quest locally, follow these steps:\n\n### Prerequisites\n\n- Python 3.10 or higher\n- Git\n\n### Option 1: Git Clone 🐙\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/VictorGoubet/capitalquest.git\n   cd capitalquest\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n3. Run the application:\n   ```bash\n   python launch.py\n   ```\n\n   This will start both the API and front-end components in development mode.\n\n   Customize with options:\n   - `--env`: Choose between `dev` (default) or `prod` environments\n   - `--component`: Run `api`, `front`, or `both` (default) components\n   - `--api-host`, `--api-port`: Set custom API host/port (default: localhost:8000)\n   - `--front-host`, `--front-port`: Set custom front-end host/port (default: localhost:8051)\n\n   Example:\n   ```bash\n   python launch.py --env prod --component api --api-port 8080\n   ```\n\n   Note: You can also set these options using environment variables or a .env file:\n   ```bash\n   export api_host=localhost\n   export api_port=8000\n   export front_host=localhost\n   export front_port=8051\n   export environment=dev\n   ```\n\n4. Open your browser and navigate to `http://localhost:8051` (or your custom front-end port)\n\n### Option 2: Docker 🐳\n\nA Docker image is available for easy setup:\n\n1. Pull the Docker image:\n   ```bash\n   docker pull victorgoubet/capitalquest:latest\n   ```\n\n2. Run the container:\n   ```bash\n   docker run -p 8051:8051 victorgoubet/capitalquest:latest\n   ```\n\n3. Access the game at `http://localhost:8051`\n\n---\n\n[game-url]: https://capitalquest-nvde.onrender.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorgoubet%2Fcapitalquest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorgoubet%2Fcapitalquest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorgoubet%2Fcapitalquest/lists"}