- Introduction
- Features
- Technologies Used
- Installation
- Usage
- API Endpoints
- Folder Structure
- Contributing
- ScreenShots
Food Delivery App is a full-stack web application that allows users to register, log in, browse food items by category, place orders, and generate invoices. The app is built with React.js for the frontend, Node.js and Express.js for the backend, and MongoDB for the database.
- User Authentication (Sign Up & Log In)
- Browse Food Items by Category
- Place Food Orders
- Search for Specific Categories of Food
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Other: Mongoose (for MongoDB object modeling), JWT (for authentication), Axios (for making HTTP requests)
-
Clone the repository:
git clone https://github.com/yourusername/food-delivery-app.git cd food-delivery-app
-
Install dependencies:
cd backend npm install
cd ../frontend npm install
-
Set up environment variables: MONGODB_URI=mongodb://localhost:27017/fooddelivery JWT_SECRET=your_jwt_secret
-
Run the application:
cd backend npm start
cd ../frontend npm start
Register an account by navigating to the Sign Up page. Log in with your credentials. Browse food items by category. Place an order by adding items to your cart and proceeding to checkout. Generate an invoice for your order. Search for specific categories of food using the search feature.
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.