https://github.com/lucasfrancaid/poc-fastapi
Proof of concept of the FastAPI. This repository was used in my publish on Medium.
https://github.com/lucasfrancaid/poc-fastapi
api fastapi medium-article python python3 tutorial
Last synced: 5 months ago
JSON representation
Proof of concept of the FastAPI. This repository was used in my publish on Medium.
- Host: GitHub
- URL: https://github.com/lucasfrancaid/poc-fastapi
- Owner: lucasfrancaid
- Created: 2020-08-30T13:07:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-23T04:52:51.000Z (almost 5 years ago)
- Last Synced: 2025-04-02T22:22:19.404Z (10 months ago)
- Topics: api, fastapi, medium-article, python, python3, tutorial
- Language: Python
- Homepage: https://medium.com/@lucasfrancaid/como-criar-uma-api-em-python-com-fastapi-e-primeiras-impress%C3%B5es-sobre-o-framework-492d9779a6ae
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![LinkedIn][linkedin-shield]][linkedin-url]
# POC - FastAPI
- Learn to create this API with my publish in [Medium](https://medium.com/@lucasfrancaid/como-criar-uma-api-em-python-com-fastapi-e-primeiras-impress%C3%B5es-sobre-o-framework-492d9779a6ae?sk=1c4c52504129521eca69fd41a6e65023)
- [POC - Advancing to Routes and Tests](https://github.com/lucasfrancaid/poc-fastapi/tree/advancing)
## Requirements
- Python 3.6+
## 🚀 Starting
- Clone this repository:
```bash
git clone https://github.com/lucasfrancaid/poc-fastapi.git
```
- Create and activate a virtual environment:
```bash
python3 -m venv .venv
source .venv/bin/activate
```
- Install requirements:
```bash
pip install -r requirements.txt
```
- Run the live server with uvicorn:
```bash
uvicorn main:app --reload
```
## ▶️ Do requests
- Swagger UI: http://127.0.0.1:8000/docs
- ReDoc: http://127.0.0.1:8000/redoc
## 📬 Contact
Lucas França
Linkedin: https://www.linkedin.com/in/lucasfrancaid/
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/lucasfrancaid