An open API service indexing awesome lists of open source software.

https://github.com/petitviolet/scala_fp_layered

functional layered architecture implementation example
https://github.com/petitviolet/scala_fp_layered

akka-http ddd functional-programming scala scalaz tagless-final

Last synced: 7 days ago
JSON representation

functional layered architecture implementation example

Awesome Lists containing this project

README

          

# Functional layered-architecture application example

keywords are below.

- Scala
- Layered Architecture
- functional programming
- Monad
- Tagless final
- Scalaz
- Akka-HTTP
- ScalikeJDBC/Skinny-ORM
- h2
- HikariCP

## sample requests

- show all users

```shell-session
$ curl localhost:9000/users | jq .
```

- update user name

```shell-session
$ curl -H "Content-Type: application/json" localhost:9000/user/update -d "$(jo id=33333333-3333-3333-3333-333333333333 name=hoge)" -XPOST | jq.
```