(no title)
benpacker | 8 months ago
This is an example of a unit test of an API route on a fully isolated WASM backed Postgres - very few lines of code, and all your API unit tests can run fully in parallel without any shared state: https://github.com/ben-pr-p/bprp-react-router-starter/blob/m...
This is all of the code needed to use Postgres in prod and PGLite in test/dev: https://github.com/ben-pr-p/bprp-react-router-starter/blob/m...
peterldowns|8 months ago
wey-gu|8 months ago
benpacker|8 months ago
I like it because I can do full stack development, including the database, with a single system level dependency (Bun).