Bistro-Boss is a full-stack MERN (MongoDB, Express.js, React, Node.js) application designed for efficient restaurant management. It provides functionalities for managing reservations, orders, menus, staff, and customer feedback.
- User Authentication: Secure login and registration for staff and customers.
- Reservations: Manage customer reservations with ease.
- Order Management: Track and manage orders efficiently.
- Menu Management: Create, update, and delete menu items.
- Staff Management: Manage staff details and roles.
- Customer Feedback: Collect and view customer feedback.
- Responsive Design: Optimized for both desktop and mobile devices.
-
Clone the repository:
git clone https://github.com/nrbnayon/bistro-boss-frontend.git cd bistro-boss
-
Install server dependencies:
cd server npm install
-
Install client dependencies:
cd ../client npm install
-
Set up environment variables:
Create a
.env
file in theserver
directory and add the following:MONGO_URI=your_mongo_db_connection_string JWT_SECRET=your_jwt_secret
-
Run the development servers:
# In the server directory npm run dev # In the client directory npm start
-
Starting the Application:
Open your browser and go to
http://localhost:3000
. -
Login/Register:
- For staff, use the staff login.
- For customers, use the customer login.
-
Navigate through the Dashboard:
- Manage reservations, orders, menu items, staff, and customer feedback through the admin dashboard.
-
Frontend:
- React
- Redux (for state management)
- React Router (for navigation)
- Axios (for HTTP requests)
- Tailwind (for styling)
-
Backend:
- Node.js
- Express.js
- MongoDB
- Mongoose (for MongoDB object modeling)
- JWT (for authentication)
-
POST /api/auth/register
- Register a new user
-
POST /api/auth/login
- Login a user
-
GET /api/reservations
- Get all reservations
-
POST /api/reservations
- Create a new reservation
-
GET /api/orders
- Get all orders
-
POST /api/orders
- Create a new order
-
GET /api/menu
- Get all menu items
-
POST /api/menu
- Add a new menu item
-
PUT /api/menu/:id
- Update a menu item
-
DELETE /api/menu/:id
- Delete a menu item
-
GET /api/staff
- Get all staff members
-
POST /api/staff
- Add a new staff member
-
GET /api/feedback
- Get all customer feedback
-
POST /api/feedback
- Submit feedback
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
This project is licensed under the MIT License.
- Email: nrbnayon@gmail.com
- GitHub: nrbnauon