Giter Site home page Giter Site logo

emmanuelbeja / fast-food-fast Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 15.87 MB

A food delivery service app for a restaurant.

Home Page: https://emmanuelbeja.github.io/Fast-Food-Fast/

api python3 flask html css pep8 pylint travis-ci coveralls pivotal-tracker

fast-food-fast's Introduction

Fast-Food-Fast

A platform where people get to order food added by the admin. The admin can then accept decline or complete the orders made.

To interact with the app UI, click link here

To interact with the api endpoints, visit the link and add endpoints here

API documentation here

Use the following endpoints to perform the specified tasks

Endpoint Functionality
POST /v1/users/orders Create an order
GET /v1/orders/ Retrieve posted orders
PUT /v1/orders/int:order_id Update a specific order
GET /v1/orders/int:order_id Get a specific posted order
DELETE /v1/orders/int:order_id DELETE a specific posted order
GET /v1/users/orders/int:order_id GET a specific user's orders
POST /v1/menu Create food item
GET /v1/menu Retrieve posted food
PUT /v1/food/int:food_id Update a specific food
GET /v1/food/int:food_id Get a specific posted food
DELETE /v1/food/int:food_id DELETE a specific posted food
POST /v1/auth/signup Sign up User
POST /v1/auth/login Login User
PUT /v1/users/int:id Update a specific user
GET /v1/users/int:id Get a specific signed up user
DELETE /v1/users/int:id DELETE a specific signed up user
GET /v1/users Get all signed up users
GET /v1/auth/logout Logout a user

Application Features

  1. Create orders.
  2. view, accept, decline and complete an order.
  3. Create, edit and delete Food items.
  4. Authentication.

Users can do the following

  • Users can create an account and log in.
  • Users can order food.
  • Users can view history of their order.

Admin can do the following

  • Admin can add, edit and delete food items.
  • Admin can view, accept, decline and complete an order.

How to Test Manually

  1. Clone the project to your local machine
    https://github.com/EmmanuelBeja/Fast-Food-Fast-API.git
  2. Create Virtual Environment
    virtualenv venv
  3. Activate Virtual ENvironment
    source venv/bin/activate
  4. Install Dependencies
    (venv)$ pip3 install -r requirements.txt
    (venv)$ pip3 freeze > requirements.txt
  5. Run the app
    python3 run.py
  6. Run tests
    pytest

How to Contribute to this project?

  1. Fork the project to your github account.

  2. Clone it to your local machine.

  3. Create a feature branch from develop branch :

  4. git checkout -b ft-name-of-the-feature

  5. Update and Push the changes to github.

  6. git push origin ft-name-of-the-feature

  7. Create Pull Request to my develop branch as base branch.

fast-food-fast's People

Contributors

emmanuelbeja avatar

Stargazers

 avatar

Watchers

 avatar  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.