A full-stack food ordering and delivery application built with React, Node.js, and MongoDB.
The project is organized into three main directories:
frontend/: React-based customer-facing web applicationadmin/: React-based admin dashboard for restaurant managementbackend/: Node.js/Express backend API server
-
Customer Features:
- Browse restaurant menu
- Place food orders
- Track order status
- View order history
- User authentication
-
Admin Features:
- Manage menu items
- Process orders
- View analytics
- Manage restaurant settings
- Node.js (v14 or higher)
- MongoDB
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/randy-bites-app.git cd randy-bites-app -
Install dependencies for all services:
# Install frontend dependencies cd frontend npm install # Install admin dependencies cd ../admin npm install # Install backend dependencies cd ../backend npm install
-
Set up environment variables:
- Create
.envfiles in both frontend, admin, and backend directories - Follow the
.env.examplefiles for required variables
- Create
-
Start the development servers:
# Start backend server cd backend npm run dev # Start frontend (in a new terminal) cd frontend npm run dev # Start admin (in a new terminal) cd admin npm run dev
- Frontend runs on: http://localhost:5173
- Admin dashboard runs on: http://localhost:5174
- Backend API runs on: http://localhost:3000
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.