Live Server: https://restaurant-server-coral.vercel.app
Live Client: https://restaurant-management-4320e.web.app
This is a full-stack restaurant management web application that allows users to manage food items, place orders, and access various features like SweetAlert notifications and a dark mode toggle.
- User authentication with Firebase
- Add and manage food items
- Place and track orders
- Secure authentication using JSON Web Token (JWT)
- Interactive alerts with SweetAlert
- Dark mode toggle
- Responsive UI with Tailwind CSS
- React Router for navigation
- React.js
- React Router
- Tailwind CSS
- Firebase Authentication
- SweetAlert
- Express.js
- JSON Web Token (JWT)
- MongoDB (Database)
- Cors & Cookie Parser
Make sure you have the following installed:
- Node.js
- MongoDB (or use MongoDB Atlas)
git clone https://github.com/your-username/restaurant-management.git
cd restaurant-management
cd client
npm install
npm run dev
cd server
npm install
Create a .env file in the server directory and add:
DB_USER=your_db_user
DB_PASSWORD=your_db_password
JWT_SECRET_KEY=your_secret_key
Then, start the server:
npm start