Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imjenal/flamingo_romancalc
https://github.com/imjenal/flamingo_romancalc
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/imjenal/flamingo_romancalc
- Owner: imjenal
- Created: 2020-08-12T17:03:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-12T17:07:02.000Z (over 4 years ago)
- Last Synced: 2024-01-22T01:30:25.839Z (10 months ago)
- Language: Go
- Size: 633 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.