Skip to content

codemaker2015/fastapi-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI examples

A simple example of using Fast API in Python.

Prerequisites:

  • Python 3.7+

Clone the project

git clone https://github.com/codemaker2015/fastapi-examples.git

Setup the project

Select project

Move to the firstapp or quiz directory

Install dependencies

pip install -r requirements.txt

Run server

uvicorn main:app --reload

Run test

pytest test.py

API documentation

http://127.0.0.1:8000/docs

About

two fastapi example projects

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages