logoalt Hacker News

mythztoday at 11:35 AM4 repliesview on HN

It's cool that this is possible, is this just for fun or are there good use-cases for this?


Replies

samwillistoday at 12:08 PM

It's now used by a huge number of developers for running local dev environments, and emulating server products (Google firebase and Prisma both embed it in their CLI). Unit testing postgres backed apps is also made significantly easer with it.

t_mahmoodtoday at 12:39 PM

One use case, when doing unit tests, Docker containers, would make it too expensive with many tests. SQLite's type checking is far less strict than Postgres, which would not catch errors that would occur the real database due to type mismatch.

Having something like this, that I can quickly spawn and know, I am getting exact behavior as prod database would be a lifesaver!

npodbielskitoday at 11:42 AM

Hmm single user website run as HTML from some folder? I guess you could embed this from s3 for multiple users but probably this would be like running multiple engines from the same dir.

show 1 reply
rozenmdtoday at 12:19 PM

I use it for realistic(ish) testing of my hono API, big fan