{"id":24773078,"url":"https://github.com/lesiaukr/goit-pythonweb-hw-08","last_synced_at":"2026-04-11T07:03:06.859Z","repository":{"id":272492650,"uuid":"916161900","full_name":"LesiaUKR/goit-pythonweb-hw-08","owner":"LesiaUKR","description":"Master's degree | Advanced Python Programming | HW | FastAPI | REST API | CRUD | Application Architecture","archived":false,"fork":false,"pushed_at":"2025-01-15T17:59:18.000Z","size":370,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T04:37:43.101Z","etag":null,"topics":["alembic","application-architecture","docker","docker-compose","fastapi","goit-pythonweb-hw-08","migrations","openapi","postgresql","python","rest-api","swagger"],"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/LesiaUKR.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":"2025-01-13T15:16:19.000Z","updated_at":"2025-01-15T17:59:20.000Z","dependencies_parsed_at":"2025-01-14T20:09:16.539Z","dependency_job_id":"bfcda8f1-4590-44bf-8fc8-1b956a7dceea","html_url":"https://github.com/LesiaUKR/goit-pythonweb-hw-08","commit_stats":null,"previous_names":["lesiaukr/goit-pythonweb-hw-08"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesiaUKR%2Fgoit-pythonweb-hw-08","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesiaUKR%2Fgoit-pythonweb-hw-08/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesiaUKR%2Fgoit-pythonweb-hw-08/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LesiaUKR%2Fgoit-pythonweb-hw-08/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LesiaUKR","download_url":"https://codeload.github.com/LesiaUKR/goit-pythonweb-hw-08/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245168902,"owners_count":20571804,"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":["alembic","application-architecture","docker","docker-compose","fastapi","goit-pythonweb-hw-08","migrations","openapi","postgresql","python","rest-api","swagger"],"created_at":"2025-01-29T04:36:50.835Z","updated_at":"2026-04-11T07:03:06.818Z","avatar_url":"https://github.com/LesiaUKR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Topic 8. Homework | FastAPI | Building a REST API | Application Architecture\n\n## Objective\n\nThe goal of this homework assignment is to create a REST API for storing and managing contacts. The API should be built using the FastAPI framework and should use SQLAlchemy for database management.\n\n---\n\n## Technical Task Description\n\n### 1. Contacts\n\nTo store the contacts in your system, you need to organize a database that will contain all the necessary information.\n\nThe information should include:\n\n- First Name  \n- Last Name  \n- Email Address  \n- Phone Number  \n- Birthday  \n- Additional Information (optional)\n\n---\n\n### 2. API\n\nThe API you develop should support basic data operations. Below is the list of actions your API should be able to perform:\n\n- Create a new contact  \n- Retrieve a list of all contacts  \n- Retrieve a single contact by ID  \n- Update an existing contact  \n- Delete a contact  \n\n---\n\n### 3. CRUD API\n\nIn addition to the basic CRUD functionality, the API should also support the following features:\n\n- Contacts should be searchable by first name, last name, or email address (Query parameters).  \n- The API should be able to retrieve a list of contacts with birthdays in the next 7 days.  \n\n---\n\n## General Requirements for Homework Completion\n\n- Use the **FastAPI** framework to create the API.  \n- Use the ORM **SQLAlchemy** to interact with the database.  \n- PostgreSQL should be used as the database.  \n- Support CRUD operations for managing contacts.  \n- Support storing the contact's date of birth.  \n- Provide **Swagger** documentation for the REST API.  \n- Use the **Pydantic** module for data validation.\n\n# TASK RESULTS\n\n![Swagger](assets/swagger.png)\n![Logs_info](assets/logs_info.png)\n![Database_with_contacts](assets/database_with_contacts.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesiaukr%2Fgoit-pythonweb-hw-08","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesiaukr%2Fgoit-pythonweb-hw-08","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesiaukr%2Fgoit-pythonweb-hw-08/lists"}