Skip to content

braejan/magneto-need-mutants

Repository files navigation

Magneto needs mutants

Magneto wants to recruit as many mutants as possible, so he can fight the X-Men. For this reason I have developed a Rest API that detects if a human is mutant based on its DNA sequence

alt text


Code coverage

This is the code coverage jacoco reports alt text

Next project was developed with Micronaut framework using aws-lambda features.

Test application

Check this project out, cd into the directory and run:

./gradlew test

This will test application.

Build application

Check this project out, cd into the directory and run:

./gradlew shadowJar

Next cd into build/libs. In there, you find the jar magneto-need-mutants-0.2-all.jar.


Check it out yourself

For test REST API you need consume the API with a json like this:

{
  "dna": [
    "ATGCTGCTAC",
    "TGTTCTGTTT",
    "GAAGCCCTAT",
    "CGGGTTGCCG",
    "ATGCTGGAAC",
    "GGTTAAGGCG",
    "TTGGAACTCG",
    "CCGCGGCCTC",
    "GGTGTCTGCG",
    "GTTTTCTTGC"
  ]
}

About

Micronaut AWS Lambda function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages