Fast-Food-Fast is a food delivery service app for a restaurant
- Users can create an account.
- Signed up users can log into their account.
- Users can post orders.
- Users can get history of orders.
- Users can get a specific order.
- Users can modify an order.
- Users can can delete a specific order.
- Python3 (A programming language)
- Flask (A Python microframework)
- Virtualenv (Stores all dependencies used in the project)
- Pivotal Tracker (A project management tool)
- Pytest (Tool for testing)
To start the following app, please follow the instructions below:
On your terminal:
Install pip:
$ sudo apt-get install python-pip
Clone this repository:
$ git clone https://github.com/Philipotieno/Fast-Food-API.git
Get into the root directory:
$ cd Fast-Food-API/
Install virtualenv:
$ pip install virtualenv
Create a virtual environment in the root directory:
$ virtualenv -name of virtualenv-
Note: If you do not have python3 installed globally, please run this command when creating a virtual environment:
$ virtualenv -p python3 -name of virtualenv-
Activate the virtualenv:
$ source name of virtualenv/bin/activate
Install the requirements of the project:
$ pip install -r requirements.txt
Run the application:
$ python fastfood.py
Test the endpoints in postman
To run tests:
$ pytest