by stephane-klein · 3y ago · 0 comments
- 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...
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...