Skip to content

An example of an asynchronous inventory FastAPI project with SQLAlchemy ORM.

Notifications You must be signed in to change notification settings

solid0x/fastapi-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inventory

An example of an asynchronous inventory FastAPI project with SQLAlchemy ORM, covered by tests. It includes integration and endpoint tests with stub injection.

Endpoints

Description Method URL Request Body
Get All Items GET /items None
Get Item by ID GET /items/{item_id} None
Create Item POST /items { name: str }
Delete Item by ID DELETE /items/{item_id} None

Visit http://localhost:8000 to access the full API documentation.

Getting Started

  • Clone the repository
  • Build and start the containers using Docker Compose:
docker-compose up --build

About

An example of an asynchronous inventory FastAPI project with SQLAlchemy ORM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published