https://github.com/rcardin/functional-portfolio
A toy implementation of a portfolio application that uses functional domain modeling and functional programming
https://github.com/rcardin/functional-portfolio
cats domain-driven-design functional-programming scala
Last synced: 3 months ago
JSON representation
A toy implementation of a portfolio application that uses functional domain modeling and functional programming
- Host: GitHub
- URL: https://github.com/rcardin/functional-portfolio
- Owner: rcardin
- License: mit
- Created: 2020-12-28T20:50:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-04T21:11:32.000Z (about 5 years ago)
- Last Synced: 2025-01-18T07:29:57.324Z (about 1 year ago)
- Topics: cats, domain-driven-design, functional-programming, scala
- Language: Scala
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# functional-portfolio
A toy implementation of a portfolio application that uses functional domain modeling and functional
programming.
## Domain Models
The domain models development uses the _smart constructor_ technique. The use of
_smart constructor_s allows to avoid the possibility to create models that are invalid.
## Cats Library
The project uses the [Cats](https://typelevel.org/cats/) library by Typelevel. The type classes used
in the code are (updating):
* [`Validated`](https://typelevel.org/cats/datatypes/validated.html)
* [`Reader`](https://typelevel.org/cats/datatypes/kleisli.html)