Made with
- Run
git clone https://github.com/zayrus/mutants.git
- Run
cd mutants & npm i
- Rename .example_env to .env
- Run
mongod
- Run
npm start
- /mutants
- /stats
- /documentation
Run npm test
- Method: POST
- Endpoint: /mutants
- Body: {dna: ["ATGCGA","CAGTGC","TTATTT","AGACGG","GCGTCA","TCACTG"]}
curl -X POST
https://mutants-bjnfgbemjb.now.sh/mutants
-H 'Content-Type: application/json'
-d ' {"dna": ["ATGCGA","CAGTGC","TTATGT","AGAAGG","CCCCTA","TCACTG"]}'
- Method: POST
- Endpoint: /mutants
- Body: {dna: ["ATGCGA","CAGTGC","TTATGT","AGAAGG","CCCCTA","TCACTG"]}
curl -X POST
https://mutants-bjnfgbemjb.now.sh/mutants
-H 'Content-Type: application/json'
-d '{"dna": ["ATGCGA","CAGTGC","TTATTT","AGACGG","GCGTCA","TCACTG"]}'