Skip to content

liweicheng00/Fastapi-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template for FastAPI

Implement

  • Simple Metamask login mechanism

Integrated with

  • MongoDB
  • Redis
  • APScheduler

Setup

pip install -r requirements.txt

Local Run

# Run by docker-compose with MongoDB, Redis and Docker image
docker build -t backend .
docker-compose up

# Run directly
python run.py

Test

export RUNTIME_ENV=test
pytest --cov=app --cov-report term-missing

# Load test
k6 run k6/script.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages