Skip to content

gantu/http4s-crud-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

http4s-crud-example

Small crud example using http4s, doobie, circe

Stack

  • Http4s for http streaming
  • Circe for JSON serialization
  • Doobie fro Database access
  • Cats for FP
  • H2 Database for storing data.

Architecture

Domain

All domain related code kept here

Infrastructure

All infra related logic kept here.

  • /db -> Database communication
  • /endpoints -> Http communication

To run : sbt run

Example commands for PostOffice(GET, POST, PUT, DELETE):

Example command for Shipments(GET, POST, PUT, DELETE):

About

Small crud example using http4s, doobie, circe

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages