Skip to content

douglasgusson/fastapi_skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Skeleton

This repository contains a skeleton FastAPI app.

Requirements

Python 3.6+

Installation

Install the required packages in your local environment (ideally virtualenv, conda, etc.).

pip install -r requirements.txt

Setup

  1. Duplicate the .env.example file and rename it to .env

  2. In the .env file configure the API_KEY entry. The key is used for authenticating our API.
    A sample API key can be generated using Python REPL:

import uuid
print(str(uuid.uuid4()))

Run It

  1. Start your app with:
uvicorn fastapi_skeleton.main:app --reload
  1. Go to http://localhost:8000/docs.

About

FastAPI Skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages