Have you tried Directus yet? It’s a content management system backed by an SQL
database with some great developer and user experience features. For example,
you can upload data to the
DB
We used Directus in the
latest Plus tutorial to store product data and images for a SvelteKit eCommerce site using Snipcart.
Nice linking Directus right through from JSON inputs to the site and onto
eCommerce structured SEO
Thanks for all your feedback and post ideas. My favourite recently was to write a blog post on deploying a SvelteKit node app. With services like Cloudflare, Netlify and Render offering free or affordable hosting, and let’s not forget convenience, it’s been a while since I spun up a self-managed Linux server. Doing so does bring a lot of advantages. For example, we were able to run node on the server and use the sharp image plugin. There is also much scope for optimization with nginx caching, plus Redis caching at no extra cost. It’s not ideal for every project, though, I still recommend trying it out on a hobby project — not just for the enjoyment but also to keep skills current.
Was fun using this app as an excuse to try out some future CSS using :has in hover images and springy overscroll. The two part post, was split into building the site locally and deploying to Linode. You can jump straight in to the second one if you’re not as excited by the CSS as I am!
vite-node
- if
you have projects where you need to run node scripts, before or after your
build, it can be annoying to make import aliases ($lib
in SvelteKit or
~components
in Astro) work when your script needs to reference them.
vite-node
takes care of this for you and supports TypeScript too. Config is
fairly straightforward.Hope there was something valuable in here for you. As always, reach out with feedback and until next time, here are a few highlight posts/tutorials: