Question about Circe

I am starting out with Scala and CIrce. The basic thing I wanna do to start out is make a program that can parse a user JSON request and do a simple response to that request and have that sending and responding logged. Are there any tutorials that go over this or any projects anyone might know of that do this that you could point me to?

Circe only covers JSON handling. For handling HTTP requests, there’s quite a range of libraries/frameworks available, see e.g.

Personally, I like Tapir with an http4s backend in the cats/cats-effect stack, but that comes with quite some conceptual baggage. A better choice for starting out (and perhaps in general, depending on your personal preferences) may be Cask (I have never worked with it myself, yet, but it looks decent and it’s part of the Scala Toolkit).

5 Likes

also asked on Reddit at Reddit - The heart of the internet

Much appreciated!