Skip to content

Fuctional rest api in Scala with http4s, doobie and circe

License

Notifications You must be signed in to change notification settings

mpetrone/scala-functional-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a example proyect for a fuctional api rest using:

  • http4s for the http endponts
  • doobie for Db
  • circe for json

Motivation

There are a few examples using the same libraries but neither of them solves the problems you may encounter in real life. This is how i resolved the struggles in building a simple but extensible functional http endpoint with CRUD implementation.

Run

Using sbt-revolver plugin we can have hot reloading for faster development

Just run

sbt hot-run

Test

To run the tests just run

sbt test

Contributing

Your contributions are always welcome! Please submit a pull request or create an issue if you see something wrong

About

Fuctional rest api in Scala with http4s, doobie and circe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages