This project is a web-based application for managing catering reservations and orders. It allows users to browse the menu, place orders, and manage reservations. Admins can add, list, and update food items, as well as manage orders and user authentication.
- User authentication (login and registration)
- Admin dashboard for managing food items and orders
- Image upload for food items
- Real-time order status updates
- Responsive design
- Frontend: React, React Router
- Backend: Express, Node.js
- Database: MongoDB
- Authentication: JWT (JSON Web Tokens)
- Styling: Tailwind CSS
- Notifications: React Toastify
- Node.js
- MongoDB
-
Clone the repository:
git clone https://github.com/yourusername/catering-reservation-system.git cd catering-reservation-system
-
Install dependencies for both frontend and backend:
# Install backend dependencies cd backend npm install # Install frontend dependencies cd ../frontend npm install
-
Set up environment variables:
- Create a
.env
file in thebackend
directory and add the following:MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
- Create a
-
Start the development server:
# Start backend server cd backend npm run dev # Start frontend server cd ../frontend npm start # Start admin server cd ../admin npm start
-
Open your browser and navigate to
http://localhost:3000
.
- Admin: Log in to access the admin dashboard where you can add, list, and update food items, and manage orders.
- User: Browse the menu, place orders, and manage your reservations.