Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 757 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 757 Bytes

AtnosEffExamples

Sample codes for this slides.

examples

  • mtls
    Implementation of monad stack with monad transformers in cats.

  • effs
    Implementation of monad stack with atnos-eff.

app

Sample codes of Layered Architecture with atnos-eff.

This application is providing only one api to create post.

How to use

  • migrations
    Please use DDL.sql and DML.sql in databases directory.

  • running application

sbt run
  • create post
POST /posts/create

{
  "user_id": "D8E265B7-AF8F-4F2C-AEEF-2430CC609417",
  "text": "Enjoy eff!!"
}