Skip to content

zsmithnyc/api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 FastAPI - Getting Started Guide

This is a new starter project, the beginning of the FastAPI core for AltsManager, based on a stadand FastAPI deployment from the Medium article: “Getting Started with FastAPI: A Step-by-Step Beginner’s Guide”

📖 Check the full article: Getting Started with FastAPI: A Step-by-Step Beginner’s Guide

💡 Features Covered

  • FastAPI installation and setup
  • First route example with @app.get("/")
  • Path & Query Parameters
  • Request Body with Pydantic Models
  • Response handling & status codes
  • Async endpoints & concurrency
  • Automatic API docs with Swagger UI
  • Project structure for growing apps
  • Router usage with include_router()

▶️ How to Run

git clone https://github.com/inanpy/fastapi-getting-started-guide.git
cd fastapi-getting-started-guide
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload

Visit:

📂 Project Structure

See app/ folder for full implementation.

About

Fast api, primary repository.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%