An Andela Developer Challenge Project
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
This involves creating just the UI elements - pages and views
- 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
This involves primarily creating RESTful API endpoints to power the front-end pages.
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. |
These instructions will get you a copy of the project running on your local machine for development and testing purposes.
node.js v8.11.4
recommended; npm v6.4.1
or greater recommended
- Clone the master repository to access all files and dependency versions
- Run
npm install
to install all dependencies - Run
npm test
to test files - Run
npm start
to get the system running
- 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