/pyday-fastapi-starter

Starter project for FastAPI

Primary LanguagePython

This repository includes a very simple Python FastAPI HTTP API, made for demonstration purposes only.

Local development

  1. Open this repository in Github Codespaces or VS Code with Remote Dev Containers extension.

  2. Use uvicorn to run the FastAPI app:

uvicorn api.main:app --reload --port=8000
  1. Click 'http://127.0.0.1:8000' in the terminal, which should open the website in a new tab.
  2. Append /docs or /generate_name to the end of the URL.