I would recommend using a CMS instead of database because CMSs often come with user interface like text editor which would be a headache to build.😛 Also, it could be an exercise as you mentioned for exploring different CMSs in case you have to take client works in the future.
Two popular headless CMSs are Sanity and Strapi. I'm using Sanity with Next.js for my blog and I enjoy using it. You may find starter projects for both CMSs to play with before making a decision.
Here is a Svelte Blog Template powered by Sanity. Note that it uses Sapper, which is like Next.js but for Svelte instead of React. It lets you create routes like www.blog.com/post-title and handles more optimization stuffs.
I couldn't find any official starter template for Strapi yet but I am sure you can find one created by third-party.
Good luck!🍻
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I would recommend using a CMS instead of database because CMSs often come with user interface like text editor which would be a headache to build.😛 Also, it could be an exercise as you mentioned for exploring different CMSs in case you have to take client works in the future.
Two popular headless CMSs are Sanity and Strapi. I'm using Sanity with Next.js for my blog and I enjoy using it. You may find starter projects for both CMSs to play with before making a decision.
Here is a Svelte Blog Template powered by Sanity. Note that it uses Sapper, which is like Next.js but for Svelte instead of React. It lets you create routes like
www.blog.com/post-title
and handles more optimization stuffs.I couldn't find any official starter template for Strapi yet but I am sure you can find one created by third-party.
Good luck!🍻