This is a ReactJS project that provides an admin dashboard and controller for a food delivery app. The dashboard allows administrators to manage orders, restaurant's Menu.
- Node.js (version 14 or later)
- npm (version 6 or later)
- ReactJS (version 17 or later)
- Clone the repository:
git clone https://github.com/iftekharalammithu/admin-fooddelivery-app.git
- Install dependencies:
npm install
- Start the development server:
npm start
- Order management: view, edit, and cancel orders
- Restaurant management: view, add, edit, and delete restaurants menu
- API integrations: handles API requests and responses
- Business logic: implements rules and validation for orders, restaurants, riders, and customers
App.js
: the main application componentAdd.js
: the menu CEUD componentOrderList.js
: the order list componentList.js
: the restaurant list component
GET /orders
: retrieves a list of ordersGET /orders/:id
: retrieves a single order by IDPOST /orders
: creates a new orderPUT /orders/:id
: updates an existing orderDELETE /orders/:id
: deletes an orderGET /restaurants
: retrieves a list of restaurantsGET /restaurants/:id
: retrieves a single restaurant by IDPOST /restaurants
: creates a new restaurantPUT /restaurants/:id
: updates an existing restaurantDELETE /restaurants/:id
: deletes a restaurantGET /riders
: retrieves a list of ridersGET /riders/:id
: retrieves a single rider by IDPOST /riders
: creates a new riderPUT /riders/:id
: updates an existing riderDELETE /riders/:id
: deletes a riderGET /customers
: retrieves a list of customersGET /customers/:id
: retrieves a single customer by IDPOST /customers
: creates a new customerPUT /customers/:id
: updates an existing customerDELETE /customers/:id
: deletes a customer
Contributions are welcome! Please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License.
- Iftekhar Alam Mithu: developer and maintainer
- [Other contributors]: [list of contributors]