Coder Social home page Coder Social logo

fast-food-fast's Introduction

#https://anyatibrian.github.io/fast-food-fast/

fast_food_fast

Fast-Food-Fast is a food delivery service app for a restaurant.

Badges

Build Status Maintainability Test Coverage Coverage Status

APIs for Fast Food Fast

These are APIs to be used to interface the fuctionality of the Fast Food Fast application

Functionality

  • Placing order for food
  • Obtaining a list of orders.
  • Fetching a specific order.
  • Updating the order status.

These are the endpoints

METHOD Endpoint Description Body (json)
GET /api/v1/orders/ Get all orders
GET /api/v1/orders/id Get specific orders using an id
POST /api/v1/orders Place a new orders username ,deliveryType,location , pieces
PUT /api/v1/orders/id Update a specific orders status to 'complete','pending','decline',accept orderStatus

APIs are Hosted at https://fast-food-fast-ab.herokuapp.com/api/v1/orders

Sample get all orders

Setting Up for Development

These are instructions for setting up Fast Food Fast app in a development enivornment.

Prerequisites

  • Python 3.6

  • Make a directory on your computer and a virtual environment

    $ mkdir fast-food-fast
    
  • Prepare the virtual environment

    $ pip install virtualenv
    $ virtualenv venv
    
  • Clone the project repo

    $ git clone https://github.com/anyatibrian/fast-food-fast.git
    
  • switch to ApiV1 branch

    $ git checkout ApiV1
    
  • Install necessary requirements

    $ pip install -r requirements.txt
    
  • Run development server

    $ python app.py
    

This site should now be running at http://localhost:5000

Run Tests

  • Make sure pytest is installed

    $ py.test
    

fast-food-fast's People

Contributors

anyatibrian avatar

Watchers

James Cloos avatar  avatar

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.