A headless CMS for simple 1-person blogs.
I want a headless CMS for my blog, so I've used Strapi.
I think it's not the right tool for the job.
I think that it is
way too complex and the setup isn't easy.
The deployment is also annoying, because you have to use yarn extern, etc.
It's just not fun.
The updates: They are also way too complex. Not like docker pull strapi/strapi:latest
. No, build your own
docker-image. Then I thought:
Why not create your own headless blog-cms, with all the features you need in Rust, so I can even learn more rust?
That's it.
- A simple web-ui
- An easy to use REST-API
- Included full-text search
- A tag-system
- One binary
- Your own frontend
- A PostgreSQL database
- A webserver
- Docker (-compose)
- Install it and set it up:
- Get
the
docker-compose.yml
:wget -O docker-compose.yml https://raw.githubusercontent.com/mawoka-myblock/PersonalBlogEngine/master/docker-compose.yml
- Add a reverse-proxy
- Open your browser at the
/admin/
-page. Note: The last/
is required. Visitinghttps://test.com/admin
will NOT work. - Enter your email-address (doesn't have to be valid) and your password and press
SETUP
. - Log in with your email and password
- Get
the
- Integrate it into the frontend Use the TypeScipt library @mawoka/pbe.
- Create your first post
- Go to your admin-page
https://test.com/admin/
and log in if you aren't already - Click on
Create new post
and enter the slug of your new post. Note: You won't be able to change the slug afterwards! - Enter a title, an intro and your markdown. After that, click
save
. Note: For now, you won't get any feedback from the save-button, but it works.
- Go to your admin-page
- Done!