Skip to content

Rehket/Async-FastAPI-Template

Repository files navigation

FastAPI Template Repo

Setup

  • Create and activate a virtual environment

  • Setup the env.ps1 script with desired variables.

  • In the virtual environment:

    • run the env.ps1 script to set the environment variables.
    • install the packages included in the req-dev.txt
    • run python ./bootstrap.py

    Lastly...

    • run uvicorn app.main:app --reload to start the application

Usage

  • Once the application is running, by going to localhost:8000/docs or what you configured in the env.ps1, you will be able to login and tryout the endpoints.

Change Log:

Updated Bootstrap Script and going to async!

1-August-2019

Changing this repo from a repo used for demoing an issue to a template for making an API service using postgres and FastAPI.

  • Adding an archive with the old readme detailing the error.

About

A back-end async api template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published