DEV Community

Discussion on: Data Persistence / CMS options for personal blog?

Collapse
 
hangindev profile image
Jason Leung 🧗‍♂️👨‍💻 • Edited

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!🍻