Skip to content

cnwv/FastAPI_project_Y_Lab

Repository files navigation

Y_Lab FastAPI project

python fastapi pytest

Description:

FastAPI educational project for Y_Lab. This is a backend service for restaurants with CRUD menu operations. There are three entities: Menu, Submenu, Dishes. The documentation can be found at (http://0.0.0.0:8000/docs, http://localhost:8000/docs or http://127.0.0.1:8000/docs)

Based on:

  • Python 3.10-slim
  • FastAPI 0.89.1
  • SQLAlchemy 2.0.19
  • Alembic 1.11.1
  • Gunicorn 21.2.0
  • PostgreSQL 15.1-alpine

How to use it

git clone https://github.com/cnwv/FastAPI_project_Y_Lab.git

cd FastAPI_project_Y_Lab

docker-compose up -d

How to test it

Pytest

docker-compose up -d
docker-compose up tests

Postman

Upload the menu app.postman_environment.json and menu app.postman_collection.json files from the /tests/postman folder to postman and run the test.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages