-
Notifications
You must be signed in to change notification settings - Fork 0
3. Technical Docs
Tamer Hamad Faour edited this page Nov 25, 2024
·
1 revision
This document provides an overview of the technical aspects of the project, including API usage and Dockerfile configuration.
You can interact with the FastAPI app via the following endpoints:
-
Endpoint:
GET /items
- Description: Fetches a list of all available items.
-
Endpoint:
POST /items
- Description: Allows the creation of a new item by sending the required data in the request body.
The application uses a Dockerfile to configure and initialize a PostgreSQL database. Below is a breakdown of its setup:
FROM postgres:15
ARG POSTGRES_USER=postgres
ARG POSTGRES_PASSWORD=postgres
ARG POSTGRES_DB=postgres
ENV POSTGRES_USER=$POSTGRES_USER \
POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
POSTGRES_DB=$POSTGRES_DB
COPY db/init.sql /docker-entrypoint-initdb.d/
Hi! I'm Tamer Hamad Faour, the maintainer of this project. I specialize in FastAPI, Docker, and AI technologies.
- 💼 LinkedIn: TamerOnLine
- 💻 GitHub: TamerOnLine
- 🎥 YouTube Channel: MystroTamer
- 📊 Kaggle: TamerOnLine
- 🌐 Website: MyStroTamer
Feel free to reach out for collaboration or queries at info@tameronline.com.