Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web API example using scala-fx and Http4s library. #23

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

qohat
Copy link
Contributor

@qohat qohat commented Dec 28, 2021

This PR contains a small example of what a basic CRUD HTTP API would look like using scala-fx integrated with http4s. The example is in theMainHttp4sFx.scala

Additionally It contains the same example using http4s only in the MainHttp4s.scala in order to compare both implementations.

You will find temporary implementations that require further development in the future such as the IO Bind. These were assumed that way in order to complete the exercise. Also the DB is a mutable Map in memory.

I also included a new module called examples in the sbt file

@qohat qohat changed the title Http4s example using the library. Web API example using scala-fx and Http4s library. Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant