pip install -r requirements.txt
Enter your virtual env and install requirements
$ pip install -r requirements-test.txt
Launch
$ python manage.py test
Build image
$ docker-compose build
and run
$ docker-compose up
/api/bloodgroups
: gives you all bloodgroups in database
[
{
"status": "S",
"status_expanded": "Stabile",
"groupid": "A+",
"id": 1
},
{
"status": "S",
"status_expanded": "Stabile",
"groupid": "AB+",
"id": 2
},
]
If you want retrieve a specific blood group (example AB+) you can use /api/bloodgroups/AB+
/api/bloodgroups/:Groupid
- Groupid : Group id (AB+, AB-, A+ ...)
To generate a page access token follow this guide: https://developers.facebook.com/docs/pages/access-tokens/
You need a user access token to proceed.
Released under MIT License by @astagi