{"id":20140598,"url":"https://github.com/goffinet/quiz-app-backend","last_synced_at":"2026-06-10T10:31:19.175Z","repository":{"id":236584401,"uuid":"792906996","full_name":"goffinet/quiz-app-backend","owner":"goffinet","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-27T22:18:22.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T23:28:20.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/goffinet.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-04-27T22:15:39.000Z","updated_at":"2024-04-27T22:18:25.000Z","dependencies_parsed_at":"2024-04-27T23:23:55.032Z","dependency_job_id":"c817e95b-d13f-43ee-8708-b333ea67d39e","html_url":"https://github.com/goffinet/quiz-app-backend","commit_stats":null,"previous_names":["goffinet/quiz-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/goffinet/quiz-app-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Fquiz-app-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Fquiz-app-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Fquiz-app-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Fquiz-app-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goffinet","download_url":"https://codeload.github.com/goffinet/quiz-app-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goffinet%2Fquiz-app-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34149132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-11-13T21:52:45.032Z","updated_at":"2026-06-10T10:31:19.146Z","avatar_url":"https://github.com/goffinet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quiz App Backend\n\n## Overview\nThis project is the backend for a quiz application built with FastAPI. It supports features like user authentication, quiz management, and session scheduling.\n\n## Features\n- User management: Create, retrieve, update, and delete users.\n- Quiz management: Admins can create, retrieve, update, and delete quizzes.\n- Session management: Schedule quiz sessions with attributes like retakes and timing configurations.\n\n## Requirements\n- Python 3.8 or newer\n- FastAPI\n- Uvicorn: ASGI server for running FastAPI\n- SQLAlchemy: ORM for database interactions\n- Alembic: For database migrations\n- Pydantic: For data validation through Python dataclasses\n- PostgreSQL: For the production database\n\n## Setup and Installation\n1. Clone the repository:\n    ```\n    git clone https://github.com/yourrepository/quiz-app-backend.git\n    ```\n2. Navigate to the project directory:\n    ```bash\n    cd quiz-app-backend\n    ```\n3. Install dependencies:\n    ```\n    pip install -r requirements.txt\n    ```\n4. Create and configure your `.env` file with necessary environment variables:\n    ```\n    DATABASE_URL=postgresql://user:password@localhost/dbname\n    SECRET_KEY=your_secret_key_here\n    ```\n5. Run the Alembic migrations to set up your database schema:\n    ```\n    alembic upgrade head\n    ```\n6. Start the application using Uvicorn:\n    ```\n    uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload\n    ```\n\n## Testing\nTo run the tests, use the following command:\n    ```\n    pytest\n    ```\n\n## Deployment\n1. Ensure all sensitive data is secured in environment variables.\n2. Set up a Docker container for the application using the provided `Dockerfile`.\n3. Deploy using a WSGI server like Gunicorn and a reverse proxy like Nginx:\n    ```\n    gunicorn -w 4 -k uvicorn.workers.UvicornWorker app.main:app\n    ```\n4. Consider using Docker Compose for managing service configurations:\n    ```\n    docker-compose up --build\n    ```\n\n## Support\nFor any queries or technical support, please open an issue on the project's GitHub page.\n\nThank you for using the Quiz App Backend!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoffinet%2Fquiz-app-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoffinet%2Fquiz-app-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoffinet%2Fquiz-app-backend/lists"}