3 ms·
I just started a project and chose this stack: - SSR SvelteKit with Hydration (https://github.com/sveltejs/kit https://github.com/sveltejs/kit) - PostgreSQL d
by stephane-klein 3y ago
I just started a project and chose this stack:
- SSR SvelteKit with Hydration (https://github.com/sveltejs/kit https://github.com/sveltejs/kit)
- PostgreSQL database server
- Postgres.js - PostgreSQL client for Node.js (https://github.com/porsager/postgres https://github.com/porsager/postgres)
- Migration powered by graphile-migrate (https://github.com/graphile/migrate https://github.com/graphile/migrate)
- PostgreSQL Row-Level Security (https://www.postgresql.org/docs/16/ddl-rowsecurity.html https://www.postgresql.org/docs/16/ddl-rowsecurity.html)
- svelte-headlessui (https://github.com/rgossiaux/svelte-headlessui https://github.com/rgossiaux/svelte-headlessui)
- sveltekit-i18n (https://github.com/sveltekit-i18n/lib https://github.com/sveltekit-i18n/lib)
- TailwindCSS (https://tailwindcss.com/ https://tailwindcss.com/)
- Superforms (https://superforms.rocks/ https://superforms.rocks/)
- sveltekit-flash-message + svelte-french-toast (https://github.com/ciscoheat/sveltekit-flash-message https://github.com/ciscoheat/sveltekit-flash-message + https://github.com/kbrgl/svelte-french-toast https://github.com/kbrgl/svelte-french-toast)
Tooling :
- asdf (https://asdf-vm.com/ 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/ https://www.scaleway.com/en/) with Bash script (https://github.com/stephane-klein/sveltekit-tendaro-webshell-skeleton/tree/main/deployment 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-skeleton/tree/main https://github.com/stephane-klein/sveltekit-tendaro-webshell...
- deleted 3y ago[deleted]
- jannesblobel 3y agoWhy did you choose sveltekit-i18n instead of another svelte i18n lib?
- stephane-klein 3y ago> 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-sveltekit-svelte-i18n-sveltekit-i18n-and-typesafe-i https://blog.aakashgoplani.in/comparing-i18n-libraries-in-sv...
- stephane-klein 3y agoUrl error fix: https://blog.aakashgoplani.in/comparing-i18n-libraries-in-sveltekit-svelte-i18n-sveltekit-i18n-and-typesafe-i18n https://blog.aakashgoplani.in/comparing-i18n-libraries-in-sv...
- rtcoms 3y agoWhat do you use for background jobs and admin iinterface?