Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

171 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSD Cohort 2025: Dine Flow | Team Deja and Mike

Table of Contents

  1. Overview

  2. Technologies Used

  3. Project Structure

  4. Setup Instructions

  5. Frontend

  6. Backend

  7. API Endpoints

  8. Contributors

  9. License

Overview

Digital ticket system that tracks orders from POS to kitchen
Real-time inventory management that automatically deducts ingredients as orders are completed
Predictive prep recommendations based on historical order patterns (e.g., "Prep 3 extra batches of fries between 11:30-12:30")
Menu engineering dashboard showing profitability per dish, waste metrics, and ingredient cost tracking
Integration with supplier APIs for automatic reordering when ingredients hit threshold levels

Project Overview

  • Digital ticket system that tracks orders from POS to kitchen
  • Real-time inventory management that automatically deducts ingredients as orders are completed.
  • Predictive prep recommendations based on historical order patterns.
  • Menu engineering dashboard showing profitability per dish, waste metrics and ingredient cost tracking
  • Integration with supplier APIs for automatic reordering when ingredients hit threshold levels.

Technologies Used

  • Frontend UI: React, Tailwind CSS, Next JS, Typescript
  • Backend: Node.js, Express, Typescript
  • Database: Prisma DB, PostgreSQL
  • Machine Learning / Forecasting Tools: Python, NumPy, Pandas, Matplotlib, Statsmodels (SARIMAX), Psycopg2

Project Structure

SMART-KITCHEN-MANAGEMENT/
├── frontend/
│   ├── src/
│   │   ├── app/
│   │   │   ├── dashboard/
│   │   │   ├── inventoryTracker/
│   │   │   ├── menuManagement/
│   │   │   ├── orderTracking/
│   │   │   ├── pos/
│   │   │   ├── productivityMetrics/
│   │   │   ├── select-portal/
│   │   │   └── settings/
│   │   ├── components/
│   │   │   └── POS/
│   │   ├── customHooks/
│   │   ├── styles/
│   │   ├── global.css
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   └── svgIcons.tsx
│   └── package.json
├── management/
│   ├── app/
│   │   ├── DB/
│   │   ├── routers/
│   │   └── server.ts
│   ├── build/
│   └── package.json
└── README.md

Setup Instructions

  1. Clone the repository:
git clone <repository-url>
cd project-directory
  1. Set up the backend:
cd backend
npm install
cp .env.example .env
# Update .env with your configuration
npm run dev
  1. Set up the frontend:
cd frontend
npm install
npm run dev
  1. Database setup:

Ensure PostgreSQL is installed and running:

  • Run migrations if applicable.

Frontend

The frontend is built using React (TypeScript) and styled with Tailwind CSS.

Key Features

  • User-friendly interface

  • API integration for real-time data

Available Scripts

npm run dev      # Starts the development server
npm run build    # Builds the project

Backend

The backend is powered by Node.js and Express, written in TypeScript.

Key Features

  • RESTful API endpoints
  • Input validation and error handling
  • Environment-based configuration

Available Scripts

npm run dev      # Starts the development server
npm run build    # Compiles TypeScript to JavaScript
npm run start    # Starts the production server

API Endpoints

Menu Items

GET /api/menuItems

  • Fetches all menu items

Metrics

GET /api/metrics/waste

  • Fetches all waste metrics

GET /api/metrics/productivity

  • Fetches all profit, total orders, best/worst sellers metrics

Orders

GET /api/orders

  • Fetches all orders

GET /api/orders/:id

  • Fetches order by id

POST /api/orders

  • Creates an order

PUT /api/orders/:id

  • Updates an order by id

Stock/Inventory

GET /api/stocks

  • Fetches all stocks/inventory

GET /api/stocks/:id

  • Fetch stock by id

POST /api/stocks

  • Creates a stock

Contributors

License

This project is licensed under the MIT License.

About

DSD Cohort 2025 Project for team Deja and Mike

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages