🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/vinta/awesome-python/pull/2773
**Author:** [@mimionly](https://github.com/mimionly)
**Created:** 10/17/2025
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `my-first-contribution`
---
### 📝 Commits (1)
- [`1192176`](https://github.com/vinta/awesome-python/commit/1192176c04e43639f66e50c300d339a2aa0f168c) Add FastAPI example main.py
### 📊 Changes
**1 file changed** (+6 additions, -0 deletions)
<details>
<summary>View changed files</summary>
➕ `main.py` (+6 -0)
</details>
### 📄 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:
- Initialize a FastAPI app
- Define a GET endpoint
- Run it locally using Uvicorn
To run this example:
1. Install dependencies:
pip install fastapi uvicorn
2. Run the app:
uvicorn main:app --reload
3. Open in your browser:
http://127.0.0.1:8000/
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror
changed title from [PR #2773] Add FastAPI example main.py witha simple GET endpoint to [PR #2773] [CLOSED] Add FastAPI example main.py witha simple GET endpoint 2026-04-15 09:56:13 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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