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+
or /api/bloodgroups/2
/api/bloodgroups/:ID
- ID : Integer or Groupid
Released under MIT License by @astagi