This realworld implementation uses the BASH Stack (Bun + Andale + Sqlite + Htmx).
Subsequently it's a server side rendered app with a rather flat structure that does make use of fp-ts
(scary monads ahead) and zod
.
If you want to get started I'd suggest starting with Routes
- the public asset route in particular.
The high level concept is always the same:
incoming request -> wrap it into a context object -> extend the context as needed -> transform the context into a response -> return the response
To install dependencies:
bun install
To run:
bun start
This project was created using bun init
in bun v1.0.0. Bun is a fast all-in-one JavaScript runtime.
Codebase only allows github repos, I'm primarily using gitlab however. I'll do my best to sync changes but the github repo might be out of date.