digitalr00ts / fizzbuzzx

An unnecessarily over-engineered fizzbuzz solution
Apache License 2.0
2 stars 2 forks source link

Feature Request: RESTful API #10

Closed drts01 closed 3 years ago

drts01 commented 4 years ago

Adding a REST API will enable us to curl for Fizzbuzz from a web endpoint. Once it can run as a service, we can hit from anywhere, i.e. SMS, chatbots, etc.

We should use OpenAPI as it is a common standard and comes with many features out of the box, including self-documenting. The Python library to help us with this should beFastAPI as it is high performance and will check our inputs. (validating user input, especially on the web, is a good way to prevent getting pwned).

Resources to get started: