Some work with FastAPI and SQLAlchemy, including automated alembic migrations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Ryan Reed c78fcbcd32 Adding minor notes 5 years ago
alembic Adding automation alembic scripts 5 years ago
app Correcting model name 5 years ago
.gitignore Initial commit 5 years ago
README.md Adding minor notes 5 years ago
alembic.ini Adding automation alembic scripts 5 years ago
config.py Adding automation alembic scripts 5 years ago
requirements.txt Adding requirements file 5 years ago

README.md

Table of Contents

Overview

This project utilizes FastAPI, SQLAlchemy, and Alembic for creating a basic project

Requirements

  • FastAPI
  • alembic
  • SQLAlchemy
  • uvicorn

Alembic Database Migrations / Upgrades

alembic upgrade head                            # Upgrade/create database
alembic revision --autogenerate -m "My comment" # Commit/Create new migration script for database changes

Running the Server

uvicorn app.main:app --reload