Skip to content

imjenal/flamingo_romancalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deeptrace

A web service implementing FizzBuzz with a Pink Flamingo and Roman Calculator

How To Run Locally

docker build -t deeptrace .

docker run -p 8081:8081 deeptrace

How To Test

[1] FizzBuzz with a Pink Flamingo

curl -X GET 'http://localhost:8081/pinkflamingo?from=0&to=10'

Expected Response: 
["Pink Flamingo","Flamingo","Flamingo","Flamingo","4","Flamingo","Fizz","7","Flamingo","Fizz"]

[2] Roman Calculator

curl -X POST 'http://localhost:8081/romancalc' -d "{  \"expr\": \"II * VIII / II\"}"

Expected Response: VIII

API Documentation

a) Open http://localhost:8081/api/ in the web browser. You can also test there.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published