{"id":30215420,"url":"https://github.com/spartan-71/hackradar-api","last_synced_at":"2025-10-09T06:02:01.008Z","repository":{"id":303595131,"uuid":"1015856826","full_name":"Spartan-71/HackRadar-API","owner":"Spartan-71","description":"A universal hackathon API","archived":false,"fork":false,"pushed_at":"2025-07-26T12:35:30.000Z","size":56,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-14T02:21:36.982Z","etag":null,"topics":["devfolio","devpost","dorahacks","hackathon","hackathon-api","hackathon-tracker","mlh","unstop"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Spartan-71.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-07-08T06:25:31.000Z","updated_at":"2025-07-28T06:31:02.000Z","dependencies_parsed_at":"2025-07-08T12:42:34.965Z","dependency_job_id":"911e4c9a-119d-4365-aa91-65a4bf182c00","html_url":"https://github.com/Spartan-71/HackRadar-API","commit_stats":null,"previous_names":["spartan-71/hackradar","spartan-71/hackradar-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Spartan-71/HackRadar-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spartan-71%2FHackRadar-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spartan-71%2FHackRadar-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spartan-71%2FHackRadar-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spartan-71%2FHackRadar-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spartan-71","download_url":"https://codeload.github.com/Spartan-71/HackRadar-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spartan-71%2FHackRadar-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000748,"owners_count":26082932,"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-10-09T02:00:07.460Z","response_time":59,"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":["devfolio","devpost","dorahacks","hackathon","hackathon-api","hackathon-tracker","mlh","unstop"],"created_at":"2025-08-14T02:10:00.923Z","updated_at":"2025-10-09T06:02:00.898Z","avatar_url":"https://github.com/Spartan-71.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HackRadar API\n\nHackRadar is a FastAPI-based API that collects hackathon data from platforms like MLH, Devpost, and Devfolio, storing everything in a PostgreSQL database. It provides endpoints for upcoming hackathons and can be deployed easily with Docker.\n\n\n## 🚀 Features\n\n* Scrapers for multiple hackathon platforms.\n* REST API built with FastAPI.\n* Uses PostgreSQL as the primary database.\n* Automated scraping using background tasks or scheduled jobs.\n* Dockerized setup for easy deployment.\n\n\n## ⚡ Quick Start (Docker)\n\nRun the following commands to start everything with Docker and PostgreSQL:\n\n```bash\ndocker compose build\ndocker compose up -d\n```\n\nAccess API at: [http://localhost:8000/docs](http://localhost:8000/docs)\n\n\n## 🛠 Local Setup\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/yourusername/hackradar.git\n   cd hackradar\n   ```\n\n2. **Install dependencies (using uv)**:\n\n   ```bash\n   uv pip install -e .\n   ```\n\n3. **Set up PostgreSQL**:\n   Ensure you have PostgreSQL running locally. Update the `.env` file with your database connection details.\n\n4. **Initialize the database**:\n\n   ```bash\n   python -m backend.init_db\n   ```\n\n5. **Run the scrapers to fetch initial data**:\n\n   ```bash\n   python -m tasks.fetch_and_store\n   ```\n\n6. **Start the FastAPI server**:\n\n   ```bash\n   uvicorn backend.main:app --reload\n   ```\n\n7. Open the interactive API docs at: [http://localhost:8000/docs](http://localhost:8000/docs)\n\n\n## ⚙️ Environment Variables\n\nCreate a `.env` file in the root directory:\n\n```\nDATABASE_URL=postgresql://hackuser:hackpass@db:5432/hackradar\nSCRAPE_ON_START=1\n```\n\n\n## 🤝 Contributing\n\nContributions are welcome! Please check the [Contributing Guide](CONTRIBUTING.md) before submitting pull requests.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspartan-71%2Fhackradar-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspartan-71%2Fhackradar-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspartan-71%2Fhackradar-api/lists"}