bachelor-meal-management-system

Bachelor Meal Management System

Production-ready full-stack app for managing a bachelor mess: meals, shopping costs, meal rate, balances, group management, reports, and notifications.

Tech stack

Project structure

.
├─ backend/
└─ frontend/

Setup

1) Requirements

Optional (local Mongo via Docker):

docker compose up -d

2) Environment variables

3) Install dependencies

From repo root:

npm install

4) Run in development

npm run dev

Frontend: http://localhost:5173

API: http://localhost:5000/api/health

In local development, the Vite dev server proxies /api/* to the backend on port 5000 (see frontend/vite.config.ts).

If you prefer separate terminals:

npm run dev:backend
npm run dev:frontend

5) Build for production

npm run build

6) Run backend in production mode

npm run start

API (high level)

Base URL: /api

Notes