[](https://circleci.com/gh/dutradda/friendsreco) [](https://coveralls.io/github/dutradda/friendsreco?branch=master) [](https://pypi.python.org/pypi/friendsreco) [](https://pypi.python.org/pypi/friendsreco) [](https://pypi.python.org/pypi/friendsreco) [](https://github.com/dutradda/friendsreco/blob/master/LICENSE)
# friendsreco A simple HTTP friends recommendations service
Running locally:
Install minikube as in [doc](https://kubernetes.io/docs/tasks/tools/install-minikube/)
Install helm package manager as in [doc](https://docs.helm.sh/using_helm/)
Install friendsreco helm package: make deploy
Proxy ports: kubectl port-forward deploy/friendsreco 7474:7474 7687:7687 6000:6000 8080:8080
Activate debug messages, if desired: make debug-deploy
These steps can be used to deploy the application on cloud too.
- Running tests:
pip install tox && tox
Get friendships for the given people:
curl -i localhost:8080/friendships?who=Arthur,Mari
Get all friendships:
curl -i localhost:8080/friendships
Create recommendations:
curl -i -X POST localhost:8080/recommendations
Get recommendations for a given person:
curl -i localhost:8080/recommendations/Arthur
Get all recommendations:
curl -i localhost:8080/recommendations
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file friendsreco-0.0.11.tar.gz.
File metadata
- Download URL: friendsreco-0.0.11.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1f307ea6633cb29c5b134925199561cd2dd96164ac2864206c8dffa6408f5c9
|
|
| MD5 |
b9ff8aa846a691994f4896a54042d0ee
|
|
| BLAKE2b-256 |
5d5b8684530e8f5679552c876b7cd4623ad551a323b756e2062d86dc4bf1c6ae
|