Fast-Food-Fast
Fast-Food-Fast copied to clipboard
A food delivery service app for a restaurant
Fast-Food-Fast
An Andela Developer Challenge Project
Description
Fast-Food-Fast is a food delivery service app challenge built using plain HTML5, CSS, JS for front end and Node.js for the backend. The project is divided into UI implementation and API Endpoints sections with features for both demonstrated below. The overall solution is hosted on Heroku
UI Implementation
This involves creating just the UI elements - pages and views
Features
- User signup and login pages
- A page where a user should be able to order for food and view order history
- A page where the admin can do the following:
- See a list of orders
- Accept and decline orders
- Mark orders as completed
API Endpoints
This involves primarily creating RESTful API endpoints to power the front-end pages.
Features
| Endpoints | Functionality |
|---|---|
| GET /orders | Get all orders. |
| GET /orders/:id | Fetch a specific order. |
| POST /orders | Place a new order. |
| PUT /orders/:id | Update the status of an order. |
| DELETE /orders/:id | Delete an order. |
Getting Started
These instructions will get you a copy of the project running on your local machine for development and testing purposes.
Prerequisites
node.js v8.11.4 recommended; npm v6.4.1 or greater recommended
Installation and Testing
- Clone the master repository to access all files and dependency versions
- Run
npm installto install all dependencies - Run
npm testto test files - Run
npm startto get the system running
Built With
- Node.js/Express - Server-side framework
- Mocha/Chai - Testing framework
- ESLint - Linting library
- Airbnb style guide
- Pivotal Tracker - Project management tool
- Babel 7 - Compiling >=ES2015 features to native JS
- Postman - Testing API endpoints
- Development Approach - TDD/BDD