{"id":37687019,"url":"https://github.com/selamet/letsraffle-api","last_synced_at":"2026-01-16T12:35:23.571Z","repository":{"id":37930281,"uuid":"322923530","full_name":"selamet/letsraffle-api","owner":"selamet","description":"A simple and secure raffle platform with instant result generation","archived":false,"fork":false,"pushed_at":"2025-12-02T19:44:32.000Z","size":10618,"stargazers_count":25,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-02T21:28:25.008Z","etag":null,"topics":["api","backend","celery","docker","drawing-system","fastapi","flower","python","raffle-system","redis","rest-api","task-queue-worker"],"latest_commit_sha":null,"homepage":"https://www.letsraffle.co","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selamet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-19T19:33:05.000Z","updated_at":"2025-12-02T19:44:36.000Z","dependencies_parsed_at":"2025-10-25T19:15:07.198Z","dependency_job_id":"828df9f6-8730-4351-9f5a-bb07de1b8f7b","html_url":"https://github.com/selamet/letsraffle-api","commit_stats":null,"previous_names":["selamet/secret-santasu","selamet/letsraffle-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/selamet/letsraffle-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selamet%2Fletsraffle-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selamet%2Fletsraffle-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selamet%2Fletsraffle-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selamet%2Fletsraffle-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selamet","download_url":"https://codeload.github.com/selamet/letsraffle-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selamet%2Fletsraffle-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"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":["api","backend","celery","docker","drawing-system","fastapi","flower","python","raffle-system","redis","rest-api","task-queue-worker"],"created_at":"2026-01-16T12:35:23.480Z","updated_at":"2026-01-16T12:35:23.555Z","avatar_url":"https://github.com/selamet.png","language":"Python","readme":"# Santa's Draw - Secret Santa API\n\nFastAPI-based RESTful API project for Secret Santa draw management.\n\n## Features\n\n- 🔐 User authentication and authorization\n- 🎲 Draw creation and management\n- 👥 Participant addition and removal\n- 🎁 Automatic matching algorithm\n- 📧 Email notifications\n- 🔄 Versioned API (v1)\n\n## Technologies\n\n- **FastAPI** 0.120.0 - Modern web framework\n- **Pydantic** 2.12.3 - Data validation\n- **Python** 3.13\n- **Uvicorn** - ASGI server\n- **SQLAlchemy** 2.0.36 - ORM\n- **PostgreSQL** - Database\n- **Alembic** 1.14.0 - Database migrations\n\n## Quick Start\n\n```bash\n# Clone the repository\ngit clone \u003crepository-url\u003e\ncd santas_draw\n\n# Copy environment file\ncp .env.example .env\n\n# Start all services\ndocker-compose up -d\n\n# That's it! Application is running at http://localhost:8000\n# API Docs: http://localhost:8000/docs\n```\n\n## Prerequisites\n\n- Docker \u0026 Docker Compose\n\nNo Python, PostgreSQL, or other dependencies needed!\n\n## Available Commands\n\n```bash\n# Start all services\ndocker-compose up -d\n\n# Stop all services\ndocker-compose down\n\n# View logs\ndocker-compose logs -f\n\n# View application logs only\ndocker-compose logs -f app\n\n# View database logs only\ndocker-compose logs -f postgres\n\n# Rebuild and start\ndocker-compose up -d --build\n\n# Stop and remove volumes\ndocker-compose down -v\n```\n\n## Configuration\n\nThe application uses environment variables loaded from `.env` file. Key settings:\n\n- `APP_NAME` - Application name\n- `APP_VERSION` - Application version\n- `DEBUG` - Debug mode (True/False)\n- `API_VERSION` - API version\n- `HOST` - Server host\n- `PORT` - Server port\n- `CORS_ORIGINS` - CORS allowed origins\n- `DATABASE_URL` - PostgreSQL connection string\n- `DATABASE_ECHO` - Log SQL queries (True/False)\n- `DATABASE_POOL_SIZE` - Connection pool size\n- `DATABASE_MAX_OVERFLOW` - Max overflow connections\n\n## API Documentation\n\nAfter running the application:\n- Swagger UI: http://localhost:8000/docs\n- ReDoc: http://localhost:8000/redoc\n\n## Project Structure\n\n```\napp/\n├── main.py          # Main application\n├── models/          # Database models\n├── schemas/         # Pydantic schemas\n├── api/\n│   ├── deps.py      # Dependency injection\n│   └── v1/          # API endpoints\n├── config/          # Configuration\n└── tasks/           # Background tasks\n```\n\n## License\n\nAGPL v3 - See LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselamet%2Fletsraffle-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselamet%2Fletsraffle-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselamet%2Fletsraffle-api/lists"}