Re:Deno KV internals: building a database for the modern web
by chrstphrknwtn on Sunday May 12, 2024 @12:10AM
(#40332228)
I've been messing around with Bun, esbuild and TSX templates for generating static sites. Bun feels like the future.
Re:Deno KV internals: building a database for the modern web
by spirobelv2 on Sunday May 12, 2024 @01:01AM
(#40332355)
I agree. It is so much fun.
Difference between deno and bun is night and day. They really shouldnt be put in the same bucket.
deno deploy just showed a completely useless error message and stopped working.
I installed caddy on a vps and got it to work in 5 minutes.
I ripped out the deno compatibility and switchded to bun sqlite instead of turso and the website got even faster.
That is because the server has the data in the sqlite db. No need to roundtrip to turso.
btw. the framework is open source now: https://github.com/spirobel/mininext
It is like a non bloated version of nextjs. My intention is to displace php and wordpress. It is possible to get started with just html and css knowledge, but you have the whole javascript ecosystem at your fingertips.
It has no external dependencies, just 3 modestly sized files you can understand in an afternoon and it will reload your browser and rebuild when you save your code.