Skip to content

iamdanielv/pythonmicroservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Microservice

A Sample Python Microservice using FastAPI

Create a virtual environment

python3 -m venv .venv

Install Requirements

Install FastAPI:

pip install "fastapi[all]"

Install all other requirements:

pip install -r requirements.txt

Start the server

Can now run the server by just running main.py:

python3 main.py

Alternate way of running:

uvicorn main:app --reload

View Docs

Documentation is available at:

docs

or

redocs

About

A Sample Python Microservice using FastAPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published