This repository contains the source code for a sushi delivery website built using React, Node.js, and MongoDB. The project includes two main components:
- Customer's Website: A user-facing interface for browsing and ordering sushi.
- Admin Panel: An admin interface for managing the menu, orders, and tracking past orders.
- Menu Browsing: Users can browse through different sushi categories using a mini navigation.
- Item Rating: Customers can rate any sushi item.
- Order Placement: Users can place orders and make payments through Stripe.
- Order Tracking: Customers can track their current orders.
- Order History: Users can view their past orders.
- Login credentials for Admin Panel: [email protected]; Admin1234!
- Add Items: Admins can add new sushi items to the menu.
- Item List: View and delete existing menu items.
- Orders Management: View and manage current orders.
- Archive: Access and view archived orders sorted by date.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Payment Integration: Stripe
- Version Control: Git, GitHub
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/sushi-delivery-website.git cd sushi-delivery-website
- Install dependencies for both the frontend and backend:
cd backend
npm install
cd ../frontend
npm install
cd ../admin
npm install
- MONGODB_URI=
- STRIPE_SECRET_KEY=
- JWT_SECRET=
- FRONTEND_URL=
- VITE_BACKEND_URL=
- VITE_ADMIN_URL=
- VITE_BACKEND_URL=
Start the backend server:
cd backend
npm run dev
Start the frontend server:
cd ../frontend
npm run dev
Start the admin server:
cd ../admin
npm run dev
- Customer’s Website:
- Browse the sushi menu, rate items, and place orders.
- Track your current orders and view your order history.
- Track your current orders status.
- Admin Panel:
- Add new items to the menu or delete existing ones.
- Monitor current orders and move them to the archive once completed.
- Change order status.
- Access archived orders by date.
This project is licensed under the MIT License - see the LICENSE file for details.