Fast Food Fast

Build Status Coverage Status GitHub

Table of Contents

Project Overview

Fast Food Fast is a food delivery service app for restaurants. it was built from scratch using Html , Css , JavaScript and Node.js

Features

  • Users can create an account and log in,
  • A user can add food to cart,
  • A user can order for food,
  • A user can see a history of ordered food,
  • A user can write a review/ query
  • The admin can add, edit or delete the fast-food items,
  • The admin can see a list of fast-food items,
  • The admin can See a list of orders,
  • The admin can accept and decline orders
  • The admin can mark orders as completed

Demo

demogif

Visit User Dashboard

Visit Admin Dashboard

Built with

  • HTML 5
  • CSS
  • JavaScript
  • Node.js
  • Express framework
Middle Wares
  • body-parser
  • morgan

API End Points

  • GET /api/v1/orders - Fetches all Available Orders in the Database
  • GET /api/v1/orders/< orderId > - Fetches a particular order in the database
  • POST /api/v1/orders/< orderId > - Saves an Order in the database
  • PUT /api/v1/orders/< orderId > - Updates the status of an order in the database
  • DELETE /api/v1/orders/< orderId > - Deletes an order in the database

Known issues

Everything works as expected; However:

  • the front-end is not complete, i.e. no authentication, few client-side validation and no link for API calls yet.
  • Data structures were used to save data instead of a database, hence data gets erased once the server is restarted

Installation

  • $ git clone https://github.com/shegsteham/Fast-Food-Fast.git
  • $ cd Fast-Food-Fast
  • $ npm i , to install dependencies
  • $ npm start, to start the server Once the server starts-up, you can query the api at http://localhost:5000/api/v1 using the end points stated above

Contributing

Feel free to 🍴 fork this repository

👯 Clone this repository to your local machine using https://github.com/shegsteham/Fast-Food-Fast.git

Make Contributions

🔃 Create a new pull request using https://github.com/shegsteham/Fast-Food-Fast/compare

License

GitHub