{"id":18207623,"url":"https://github.com/ayu-ano/feastfleet","last_synced_at":"2026-01-28T06:14:50.867Z","repository":{"id":259451233,"uuid":"875644378","full_name":"ayu-ano/FeastFleet","owner":"ayu-ano","description":"Food Delivery website","archived":false,"fork":false,"pushed_at":"2024-11-03T11:31:27.000Z","size":25063,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-03T12:23:57.095Z","etag":null,"topics":["context-api","express-js","javascript","jwt-token","middlewares","mongodb-atlas","mongoose","node-js","react-hooks","react-router","reactjs","stripe","validator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayu-ano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-20T14:25:24.000Z","updated_at":"2024-11-03T11:35:45.000Z","dependencies_parsed_at":"2024-11-03T12:34:49.248Z","dependency_job_id":null,"html_url":"https://github.com/ayu-ano/FeastFleet","commit_stats":null,"previous_names":["ayu-ano/fleetfeast","ayu-ano/feastfleet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayu-ano%2FFeastFleet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayu-ano%2FFeastFleet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayu-ano%2FFeastFleet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayu-ano%2FFeastFleet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayu-ano","download_url":"https://codeload.github.com/ayu-ano/FeastFleet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190504,"owners_count":21062284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["context-api","express-js","javascript","jwt-token","middlewares","mongodb-atlas","mongoose","node-js","react-hooks","react-router","reactjs","stripe","validator"],"created_at":"2024-11-03T13:03:44.033Z","updated_at":"2026-01-28T06:14:50.803Z","avatar_url":"https://github.com/ayu-ano.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🍽️ FeastFleet\n\nWelcome to the **Food Ordering System**, a full-stack web application designed to facilitate online food ordering with seamless management for both customers and administrators. This project integrates an intuitive UI for customers, a powerful backend for order management, and an admin panel for managing food items and processing orders. \n\n## 📋 Table of Contents\n1. [Overview](#-overview)\n2. [Features](#-features)\n3. [Tech Stack](#-tech-stack)\n4. [Installation](#-installation)\n5. [Usage](#-usage)\n6. [API Endpoints](#-api-endpoints)\n7. [Screenshots](#-screenshots)\n8. [Contributing](#-contributing)\n9. [Contact](#-contact)\n\n## 🌟 Overview\n\nThe **Food Ordering System** is a web-based application where customers can:\n- Register and log in to their accounts.\n- Browse a variety of food categories.\n- Add items to their cart and place orders.\n- Track the status of their orders.\n\nAdministrators have full control to:\n- Add, edit, and remove food items.\n- Manage customer orders and update statuses.\n- View order details and customer information.\n\n## ✨ Features\n\n### For Customers:\n- **User Authentication**: Secure registration and login using JWT.\n- **Order Food**: Browse available food items and place orders.\n- **Order Tracking**: Track the order status from preparation to delivery.\n- **User Profile**: Update personal information.\n\n### For Admins:\n- **Food Management**: Add, edit, and delete food items.\n- **Order Management**: View all orders, update order statuses.\n- **Customer Management**: View customer information and order history.\n\n### General:\n- **Payment Integration**: Easily make payments for food orders.\n- **Responsive Design**: Works seamlessly on desktop and mobile devices.\n- **Real-time Updates**: Track order statuses in real-time.\n\n## 🛠️ Tech Stack\n\n### Frontend:\n- **React** with hooks for dynamic rendering.\n- **Axios** for HTTP requests.\n- **React Router** for client-side navigation.\n- **Bootstrap** and custom CSS for responsive design.\n- **React Toastify** for user notifications.\n\n### Backend:\n- **Node.js** with Express for server-side logic.\n- **MongoDB** with Mongoose for the database.\n- **JWT** for secure authentication.\n- **Multer** for file handling (images).\n- **Bcrypt** for password hashing.\n\n### Tools \u0026 Libraries:\n- **Axios**: For API requests.\n- **Toastify**: For notifications.\n- **FormData**: To handle image uploads.\n- **dotenv**: For environment variables.\n\n## 📦 Installation\n\n### Prerequisites:\n- Node.js (v14+)\n- MongoDB (local or cloud)\n- Git\n\n### Steps:\n1. **Clone the repository**:\n   ```bash\n     https://github.com/ayu-ano/FleetFeast.git\n   ```\n\n2. **Navigate to the project folder**:\u003cbr\u003e\n *Frontend*\n   ```bash\n   cd frontend\n   ```\n   *Backend*\n     ```bash\n   cd backend\n   ```\n   *Admin*\n     ```bash\n   cd admin\n   ```\n\n3. **Install dependencies**:\n###### for frontend\n   ```bash\n   npm install\n   ```\n   \n```bash\n      npm install react-router-dom\n   ```\n###### for admin\n ```bash\n   npm install\n   ```\n###### for backend\n```bash\n   npm install express mongoose bcrypt validator jsonwebtoken nodemon cors dotenv body-parser multer stripe \n   ```\n\n4.**Set up environment variables: .env file**:\n```bash\nMONGO_URI=\u003cyour-mongodb-uri\u003e\nJWT_SECRET=\u003cyour-jwt-secret\u003e\nPORT=5000\nSTRIPE_SECRET_KEY=\u003cyour-stripe-secret-key\u003e\n```\n\n5.**Start the server (backend):** use any one command\n```bash\n npm run server\n npm server.js\n nodemon server.js\n```\n\n  ##  🚀Usage\n\n### Running the Project\n\n#### Development Mode:\n- **Backend**: `npm run dev`\n- **Frontend**: `npm start` in the `frontend` directory.\n\n#### Production Mode:\n- **Build frontend**: `npm run build` in the `frontend` directory.\n- **Serve**: `npm start`\n\n ##  Testing\n\n- Unit tests can be added using **Jest** or **Mocha**.\n- We also have folder name `tests` in which we perform testing for backend part.\n- Lint the code using **ESLint**:\n\n```bash\n  npm run lint\n```\n\n\n ## 📡 API Endpoints\n\n### User Routes:\n- **POST** `/api/user/register` - Register a new user.\n- **POST** `/api/user/login` - Login a user.\n\n### Order Routes:\n- **POST** `/api/order/place` - Place a new order.\n- **POST** `/api/order/verify` - Verify order payment.\n- **POST** `/api/order/userorders` - Retrieve user-specific orders.\n- **GET** `/api/order/list` - List all orders for admin.\n- **POST** `/api/order/status` - Update order status.\n\n### Food Routes:\n- **POST** `/api/food/add` - Add a new food item.\n- **GET** `/api/food/list` - Retrieve all food items.\n- **POST** `/api/food/remove` - Remove a food item.\n\n\n\n ## 📸 Screenshots\n\n-  **Home Page**\n   ![Home Page](./soft-doc/img_1.jpg)\n   ![Home Page](./soft-doc/img_2.jpg)\n   ![Home Page](./soft-doc/img_3.jpg)\n\n- **Use case Diagram**\n![Use case Diagram](./soft-doc/model.jpg)\n\n- **Admin Panel**\n   ![Admin Panel](./soft-doc/admin_add.jpg)\n   ![Admin Panel](./soft-doc/admin_list.jpg)\n   ![Admin Panel](./soft-doc/admin_order_placed.jpg)\n\n- **Order Tracking**\n   ![Order Tracking](./soft-doc/myorders.jpg)\n\n-  **Payment Page**\n![Payment Page](./soft-doc/cart0.jpg)\n![Payment Page](./soft-doc/carttotals.jpg)\n   ![Payment Page](./soft-doc/payment.jpg)\n\n\n ## 📄 Documentation\n\nFor more detailed information, please refer to the [User Guide](https://drive.google.com/file/d/19CM_4ZhQy2Nv-2Pj9qkeQIcy8zVeqtWA/view?usp=sharing).\n\n\n\n11. ## 🤝 Contributing:\n- Fork the repository.\n- Create a new branch for your feature: `git checkout -b feature-name`.\n- Commit your changes: `git commit -m 'Add some feature'`.\n- Push to the branch: `git push origin feature-name`.\n- Create a `pull` request.\n\n\n\n## 📞 Contact\n- Author: `Ayush Kumar`\n- For any inquiries or feedback, please reach out via GitHub: [Ayush Kumar](https://github.com/ayu-ano)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayu-ano%2Ffeastfleet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayu-ano%2Ffeastfleet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayu-ano%2Ffeastfleet/lists"}