https://github.com/yevheniidatsenko/goit-pythonweb-hw-08
📂 Hometask - FullStack Web Development with Python (FastAPI | REST API | CRUD)
https://github.com/yevheniidatsenko/goit-pythonweb-hw-08
alembic docker fastapi goit-pythonweb-hw-08 migrations openapi python rest-api
Last synced: 3 months ago
JSON representation
📂 Hometask - FullStack Web Development with Python (FastAPI | REST API | CRUD)
- Host: GitHub
- URL: https://github.com/yevheniidatsenko/goit-pythonweb-hw-08
- Owner: yevheniidatsenko
- Created: 2025-02-05T13:44:11.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-09T13:18:58.000Z (over 1 year ago)
- Last Synced: 2025-04-04T02:41:24.545Z (about 1 year ago)
- Topics: alembic, docker, fastapi, goit-pythonweb-hw-08, migrations, openapi, python, rest-api
- Language: Python
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Contact Management REST API
**Goal:** The goal of this homework assignment is to create a REST API for storing and managing contacts. The API should be built using the FastAPI infrastructure and should use SQLAlchemy to manage the database.
**Tech Stack:**
- FastAPI framework
- SQLAlchemy ORM
- PostgreSQL database
- Pydantic for data validation
**Requirements:**
1. **Contact Data:** Store first name, last name, email, phone number, birthday, and optional additional data.
2. **API Endpoints (CRUD):**
- Create contact
- Get all contacts
- Get contact by ID
- Update contact
- Delete contact
3. **Additional Features:**
- Search contacts by name, last name, or email (using query parameters).
- Get a list of contacts with birthdays in the next 7 days.
4. **Deliverables:**
- Functional REST API
- PostgreSQL database integration
- Support for storing contact birthdays
- Swagger documentation
- Pydantic data validation
## Results
