Skip to content

bbjwz/fastapi-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Tutorial

This repo is for learning how to use FastAPI.

Tutorial

The code in this tutorial is found in the official documentation for FastAPI: https://fastapi.tiangolo.com/.

Docker

Building the docker image

sudo docker build -t fastapi-image .

Starting the docker container

docker run -p 80:80 -it fastapi-image

Running the app locally

Requirements

Make sure you have installed the requirements found in requirements.txt in a virtual environment using tools such as conda or virtualenv.

Running the code

uvicorn main:app --reload

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.1%
  • Dockerfile 38.9%