Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Python test fastAPI workflow

Simple test coding with fastAPI. Using local service Inventree REST API for testing.

Start backend

uvicorn.exe src.main:app --reload

FastAPI UI

http://127.0.0.1:8000/docs

Workflow:

  • init fastAPI
  • use backend/.env file for config.py:
API_KEY_INVENTREE="Token ..."
INV_IP="http://ip-address"
  • add handlers GET, POST
  • add router
  • add sqlite, use sqlalchemy

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages