mirror of
https://github.com/vinta/awesome-python.git
synced 2026-07-16 11:04:34 -05:00
[PR #2773] [CLOSED] Add FastAPI example main.py witha simple GET endpoint #2086
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/2773
Author: @mimionly
Created: 10/17/2025
Status: ❌ Closed
Base:
master← Head:my-first-contribution📝 Commits (1)
1192176Add FastAPI example main.py📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
➕
main.py(+6 -0)📄 Description
Added main.py as a simple FastAPI example demonstrating a basic GET endpoint.
The application defines a single route ("/") that returns a JSON message:
{
"message": "Hello, FastAPI!"
}
This serves as a quick-start example for beginners to understand how to:
To run this example:
Install dependencies:
pip install fastapi uvicorn
Run the app:
uvicorn main:app --reload
Open in your browser:
http://127.0.0.1:8000/
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #2773] Add FastAPI example main.py witha simple GET endpointto [PR #2773] [CLOSED] Add FastAPI example main.py witha simple GET endpoint