Cucumber food delivery project. Backend and landing page.
You must have docker and docker-compose tools installed to run the application. Simply you can just run following command.
Run full project from project root:
make docker
Or run docker-compose manually:
docker-compose up -d --build
Also you can run parts of application separately. It's useful for debugging.
- Install requirements
- Run db container with:
make db
- Run alembic migrations:
make alembic
- Run app locally:
make local
All web routes of the app available on /docs path.
Project structure presented below:
app
├── api - routing and web related modules
│
├── db - db related modules
│ ├── migrations - generated alembic migrations
│ └── models - db models
│ └── schema.py - description of db structure
│
├── internal - internal modules
│
└── main.py - FastAPI application: creation and configuration