Files
second-brain/project/README.md
T
kiskaadee f9144064f0 docs(project): establish project specification and domain model
- Add initial Software Requirements Specification
- Redesign API around customers, sales and payments
- Update database domain model
- Refine project architecture documentation
- Rewrite README to reflect product goals
- Add documentation index
- Mark project initialization tasks as completed
2026-07-15 12:28:16 -05:00

1.7 KiB

BiteTrack Backend v2

BiteTrack Backend v2 is a REST API designed for small food businesses that manage perishable inventory.

The system centralizes customer management, inventory, sales, outstanding payments, inventory losses, and operational reporting into a unified platform, replacing fragmented spreadsheet-based workflows.

Its goal is to simplify daily operations while preserving historical business data that helps owners make better production and purchasing decisions.


Project Docs Index

README [this documment] → What is BiteTrack?

SRS → Software Requirement Specification: What must BiteTrack do?

Database → How is the business represented?

API Design → How is the functionality exposed?

Architecture → How is the software organized internally?


Core Features

Authentication & Authorization

  • Secure user registration and authentication
  • Role-Based Access Control (Administrator, Staff)

Customer Management

  • Customer directory
  • Outstanding balance tracking
  • Payment history

Inventory Management

  • Product catalog
  • Categories
  • Stock level management
  • Inventory adjustments
  • Inventory loss registration

Sales

  • Sales registration
  • Payment status
  • Customer association
  • Automatic inventory updates

Reporting

  • Sales history
  • Inventory loss history
  • Customer balances
  • Product performance
  • Operational analytics

Tech Stack

  • Python
  • FastAPI
  • SQLAlchemy (Async)
  • PostgreSQL
  • Alembic
  • pytest
  • Docker
  • Ruff

Getting Started

Prerequisites

  • Docker
  • Docker Compose

Run

docker compose up --build

Interactive documentation:

http://localhost:8000/docs