Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 536 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 536 Bytes

FastAPI MySQL API Project

This project is a FastAPI-based application connected to a MySQL database.

Project Structure

  • main.py: The main application script that defines API endpoints, manages database sessions, and implements business logic.
  • models.py: Defines the SQLAlchemy ORM models for the users and posts tables, including relationships and data validation rules.

Installation

  1. Clone the repository:
    git clone https://github.com/felislsd/fastapi-mysql-api.git
    cd fastapi-mysql-api