Skip to content

jessehorne/vending-machine-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vending-machine-service

An API written in Python that uses Flask, and is an implementation of the vending machine specified here. This is the minimum acceptable implementation of this project, so please see the TODO section at the bottom of this README.


Setup for Ubuntu

Please follow the steps in this order. For any assistance, contact me directly.

Install pip

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py

Install virtualenvwrapper and create virtual environment

pip install virtualenvwrapper

mkvirtualenv vending-machine-service

Clone repo and install requirements for project

git clone git@bleh.com/vending-machine-service.git

cd vending-machine-service

pip install -r requirements.txt
pip install .

Run the service

python vending_machine_service/vending_machine_service.py

Run tests

For system tests to pass, the service itself must be running!

cd vending_machine_service/
python -m pytest ../tests

Endpoints

more coming soon...

About

An implementation of Pillars vending machine kata.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published