This repository demonstrates a sample restaurant management system, providing both a frontend (React, Vite) and a backend (Node.js, Express). It aims to streamline basic operations such as menu management and integrations (e.g., MySQL, nodemailer).
-
Frontend:
- React
- react-router-dom
- react-icons
- axios
- MUI components
- Vite build tool
-
Backend:
- Node.js
- Express
- MySQL (via mysql2)
- cookie-parser, cors
- nodemailer
The goal of this system is to help restaurant owners and staff manage menus, orders, and related data through a tidy, full-stack setup with a modern React-based client and an Express server.
-
Install MySQL: Ensure that MySQL is installed on your system and the MySQL service is running.
-
Set Up the Database:
- Navigate to the
SQLfolder in the repository. - Import and execute all SQL files to set up the necessary database schema and initial data.
- Navigate to the
-
Install Dependencies and Start the Application:
-
Frontend:
cd frontend npm install npm run dev -
Backend:
cd backend npm install npm run dev
-
