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
- Host: GitHub
- URL: https://github.com/petitviolet/scala_fp_layered
- Owner: petitviolet
- Created: 2018-10-15T06:54:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T15:29:41.000Z (about 7 years ago)
- Last Synced: 2025-02-28T18:27:58.073Z (over 1 year ago)
- Topics: akka-http, ddd, functional-programming, scala, scalaz, tagless-final
- Language: Scala
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.
```