Hacker News new | ask | show | jobs
by stephane-klein 970 days ago
I just started a project and chose this stack:

- SSR SvelteKit with Hydration (https://github.com/sveltejs/kit)

- PostgreSQL database server

- Postgres.js - PostgreSQL client for Node.js (https://github.com/porsager/postgres)

- Migration powered by graphile-migrate (https://github.com/graphile/migrate)

- PostgreSQL Row-Level Security (https://www.postgresql.org/docs/16/ddl-rowsecurity.html)

- svelte-headlessui (https://github.com/rgossiaux/svelte-headlessui)

- sveltekit-i18n (https://github.com/sveltekit-i18n/lib)

- TailwindCSS (https://tailwindcss.com/)

- Superforms (https://superforms.rocks/)

- sveltekit-flash-message + svelte-french-toast (https://github.com/ciscoheat/sveltekit-flash-message + https://github.com/kbrgl/svelte-french-toast)

Tooling :

- asdf (https://asdf-vm.com/)

- Docker and Docker Compose

- NodeJS

- pnpm

- Jest for unittest

All deployed on a VM at Scaleway (https://www.scaleway.com/en/) with Bash script (https://github.com/stephane-klein/sveltekit-tendaro-webshell...)

After 3 months of development on this stack, I'm very satisfied. My application is fast, light and requires very little code.

Project skeleton example: https://github.com/stephane-klein/sveltekit-tendaro-webshell...

2 comments

Why did you choose sveltekit-i18n instead of another svelte i18n lib?
> Why did you choose sveltekit-i18n instead of another svelte i18n lib?

Mainly for the following argument:

- It is built for SvelteKit and has good SSR support.

And also, the following:

- The translations are loaded for visited pages only. (and only once!) - As of v2.4.2, the size of the sveltekit-i18n package is 14 kB in the minified form and 4.6 kB in minified + gzipped form

From https://blog.aakashgoplani.in/comparing-i18n-libraries-in-sv...

What do you use for background jobs and admin iinterface?