Code Monkey home page Code Monkey logo

fast-food-challenge3's Introduction

Fast-Food-Challenge3

Build Status Coverage Status Maintainability

project overview

This is a fast food delivery application for a fast food restaurent created
during Andela Bootcamp check, for UI HERE

The is App deployed on Heroku HERE

project overview

features

  1. Users can create an account and log in
  2. A user should be able to order for food
  3. The admin should be able to add,edit or delete the fast-food items
  4. The admin should be able to see a list of fast-food items
  5. The Admin user should be able to do the following:
    • See a list of orders
    • Accept and decline orders
    • Mark orders as completed
  6. A user should be able to see a history of ordered food

Requirements

  • Python 2.7.

Setup

   $ git clone https://github.com/kafuuma/Fast-food-challenge2/
  • Move into the Fast-food-challenge2 directory by typing the command below
   $ cd Fast-Food-challenge3
  • Create a virtual environment by running
   $ virtualenv <name>
  • Activate you virtual environment by running
    $ <name>\Scripts\activate
  • Install all requiered dependencies by running
    $ pip install -r requirements.txt
  • Run the app
    $ python run.py

Running the test

  • To run a test, You will have to cd into the project directory and run the command below
    $ nosetests --with-coverage -v

Built With

  • HTML - Hypertext Markup Language.
  • CSS - Cascading Style Sheets.
  • PYTHON 2.7 - An interpreted high-level programming language for general-purpose programming.
  • FLASKFlask-RESTful - A microframework for Python based on Werkzeug and Jinja 2.
  • PYTHON PIP - A python package managing tool.
  • GIT - A free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Version 1 API endpoints used in this application

FEATURE METHOD END POINT
Register a user POST /auth/signup
Login a user POST /auth/login
Place an order for food POST POST /users/orders
Get the order history for aparticular user GET /users/orders
Get all orders GET /orders
Fetch a specific order GET ​ / ​orders​/orderId
Update the status of an order PUT /​ orders​/orderId
Get available menu PUT /​ orders​
Get available menu GET /menu
Add a meal option to the menu POST /menu

Developer

fast-food-challenge3's People

Contributors

kafuuma avatar

Watchers

 avatar

Forkers

muhwezideo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.