Skip to content

The application written in FastApi is a platform for selling and buying books.

Notifications You must be signed in to change notification settings

vlada-pv/FastApi-Project-Bookstore

Repository files navigation

Book Selling Platform Announcement

The application written in FastApi is a platform for selling and buying books.

Useful Information

A Makefile with useful commands has been added to the repository. The commands are called in the console in this way:

make linters

make install_reqs

Application Launch

Commands are executed in the console:

  1. Copy project. Start work with changing file .env.example to .env
  2. Deploying Postgres DB in a docker container
make up_compose
  1. Installing dependencies for the FastAPI server
make install_reqs
  1. Starting the FastAPI server
uvicorn src.main:app --reload

Project Structure

For convenience and adherence to the principles of clean architecture, the project is divided into the following packages:

  • configurations — layer for storing configurations, constants, parameters, and project settings

  • models — layer for storing models (ORM or Data Classes)

  • routers — layer for setting URLs for different endpoints

  • schemas — layer containing pydantic schemes, responsible for serialization and validation

About

The application written in FastApi is a platform for selling and buying books.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published