Magneto wants to recruit as many mutants as possible so he can fight the X-Men. He has hired you to develop a project that detects if a human is a mutant based on his DNA sequence.
To run the project locally you have to follow the following steps:
- First we have to install the dependencies. We have to run
make install
- Move to the
postgresql/
folder and run the command:docker-compose up --build
- Finally, move to the root directory and run
make run
- Health Check
curl --request GET \
--url https://mutant-ms.herokuapp.com/api/mutant-ms/health-check \
--header 'Content-Type: application/json'
- Is Mutant
curl --request POST \
--url https://mutant-ms.herokuapp.com/api/mutant-ms/mutant \
--header 'Content-Type: application/json' \
--data '{
"dna": [
"ATGCGA",
"CAGTGC",
"TTATGT",
"AGAAGG",
"CCCCTA",
"TCACTC "
]
}'
- Stats
curl --request GET \
--url https://mutant-ms.herokuapp.com/api/mutant-ms/stats \
--header 'Content-Type: application/json'
The link to the project is this URL