A premium, high-performance hospitality and nightlife monorepo built with React, Express, and MongoDB. This project uses a pnpm workspace architecture for efficient package management and a highly integrated admin ecosystem.
π Overview TONIQE is a sophisticated restaurant and nightlife platform designed to provide an immersive dining experience. It features a cinematic customer-facing reservation system and a robust administrative dashboard for real-time table and booking management.
- Monorepo Management:
pnpmWorkspaces - Frontend: React 18, Vite, Framer Motion, Vanilla CSS (Premium Glassmorphism)
- Backend: Express 5 (Node.js 22/24)
- Database: MongoDB Atlas
- Authentication: Custom Admin Auth with Session Persistence
- Communication: SMTP (NodeMailer) for automated reservation confirmations
- Type Safety: TypeScript 5.x
TONIQ/
βββ AdminPanel/ # Premium Admin Dashboard (React/Vite)
β βββ src/ # Dashboard UI & Logic
β βββ public/ # Static Assets
β
βββ TONIQ/ # Main Application Monorepo
β βββ artifacts/
β β βββ TONIQE/ # Customer Frontend (Main Site)
β β βββ api-server/ # Unified Express API Server & Static Host
β β
β βββ pnpm-workspace.yaml # Workspace definition
β βββ package.json # Unified build scripts for Render
β
βββ readme.md # Project Documentation
βββ .env # Environment Configuration (API Keys, DB URIs)
- Node.js: 22+
- pnpm: 9+
- MongoDB: Access to an Atlas Cluster
# Install dependencies for the entire workspace
pnpm installYou can run individual applications or the entire stack in parallel:
# Run the Main Site & API
cd TONIQ
pnpm run dev
# Run the Admin Panel
cd AdminPanel
pnpm run dev- Service Type: Web Service
- Build Command:
npm i -g pnpm && pnpm install --no-frozen-lockfile && pnpm run build:render - Start Command:
node artifacts/api-server/dist/index.mjs
- Service Type: Static Site
- Root Directory:
AdminPanel - Build Command:
npm install && npm run build - Publish Directory:
dist
- Aesthetics: Follow the "Premium Nightlife" design languageβdark modes, glassmorphism, and gold/amber accents.
- API Calls: Always use relative paths (
/api/...) for the main site and the production URL for the separate Admin Panel. - Type Safety: Maintain strict TypeScript interfaces for all Reservation and Table data models.
Β© 2025 TONIQE Restaurant Group. All rights reserved.