Jannick Knudsen f8e73828cc aiai 1 year ago
..
src f8e73828cc aiai 1 year ago
.gitignore f8e73828cc aiai 1 year ago
README.md f8e73828cc aiai 1 year ago
bun.lockb f8e73828cc aiai 1 year ago
package.json f8e73828cc aiai 1 year ago
tsconfig.json f8e73828cc aiai 1 year ago

README.md

realworld-htmx

Grok it

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

Run it

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.

Further notes

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.