-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53a6484
commit e659e3a
Showing
2 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,27 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters