tiennguyen3354 / InventoryApp

The **Inventory Tracker** is a web application designed to manage categories, items, and drinks. It allows users to categorize items, track inventory levels, and associate drinks with items, making it suitable for restaurants, cafes, or any business that manages inventory.
0 stars 0 forks source link

Inventory Tracker

Overview

The Inventory Tracker is a web application designed to manage categories, items, and drinks. It allows users to categorize items, track inventory levels, and associate drinks with items, making it suitable for restaurants, cafes, or any business that manages inventory.

Features

Database Schema

The database schema consists of the following tables:

  1. Category

    • category_id (INT, PRIMARY KEY, AUTO_INCREMENT)
    • name (VARCHAR(100), NOT NULL)
    • description (TEXT)
    • created_at (TIMESTAMP, DEFAULT CURRENT_TIMESTAMP)
  2. Item

    • item_id (INT, PRIMARY KEY, AUTO_INCREMENT)
    • category_id (INT, FOREIGN KEY REFERENCES Category(category_id))
    • name (VARCHAR(100), NOT NULL)
    • description (TEXT)
    • price (DECIMAL(10, 2))
    • stock_quantity (INT, DEFAULT 0)
    • created_at (TIMESTAMP, DEFAULT CURRENT_TIMESTAMP)
  3. Drink

    • drink_id (INT, PRIMARY KEY, AUTO_INCREMENT)
    • name (VARCHAR(100), NOT NULL)
    • description (TEXT)
    • price (DECIMAL(10, 2))
    • created_at (TIMESTAMP, DEFAULT CURRENT_TIMESTAMP)
  4. ItemDrink

    • item_id (INT, FOREIGN KEY REFERENCES Item(item_id))
    • drink_id (INT, FOREIGN KEY REFERENCES Drink(drink_id))
    • PRIMARY KEY (item_id, drink_id)

Here’s an overview of your Inventory Tracker project, summarizing its purpose, functionality, and technology stack:


Technology Stack

Benefits