Jannick Knudsen f8e73828cc aiai 1 年之前
..
src f8e73828cc aiai 1 年之前
.gitignore f8e73828cc aiai 1 年之前
README.md f8e73828cc aiai 1 年之前
bun.lockb f8e73828cc aiai 1 年之前
package.json f8e73828cc aiai 1 年之前
tsconfig.json f8e73828cc aiai 1 年之前

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.