Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soulsam480/okane
splitwise attempt in gleam
https://github.com/soulsam480/okane
Last synced: 2 days ago
JSON representation
splitwise attempt in gleam
- Host: GitHub
- URL: https://github.com/soulsam480/okane
- Owner: soulsam480
- License: mit
- Created: 2024-06-29T06:48:02.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-12-01T13:53:54.000Z (24 days ago)
- Last Synced: 2024-12-17T03:06:29.916Z (8 days ago)
- Language: Gleam
- Homepage:
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# okane
> money
## Goals
- simple to develop and maintain
- try as many new tech as possible with speed and simplicity in mind## How it works ?
### server side
- app is written in gleam (:heart:)
- wisp is the http routing layer
- it follows a loose rails structure
- so requests flow in the following order
- hooks <- can early terminate requests
- router <- resource specific modules which export a controller method
- serializer <- serialize DB records to json
- response
- for DB, sqlight is used, queries via cake
- DB records are represented as gleam records, with builder pattern for ops like insert, select etc.
- radiate for hot reloading during development### client side
- app is served from priv/ui on /
- only session is hydrated on page load
- components and re-render via preact + htm + signals
- styles are tailwind + daisy UI