/msdocs-fastapi-postgres-codespace

A GitHub Codespaces environment with FastApi and Postgres.

Primary LanguagePythonMIT LicenseMIT

FastAPI and Postgres Dev Environment with Codespadces

This repo can be opened in a Codespaces - a development environment hosted in the cloud. You can open this repo in a browser or IDE like VS Code with the GitHub Codespaces extension.

Running the sample

  1. Copy .env.devcontainer to .env.

  2. Start the web app:

uvicorn main:app --reload

Pydantic and SQLAlchemy

Pydantic is for data validation and settings managment using Python type annotations. SQLAlchemy is a SQL toolkit and Object Relational Mapper (ORM).