Simple blogging API for static websites

about this project

It's just a simple way to create blog feature for static website
Everything what you need is just signup and add your website
(domain name without protocol https:// or http://) then create your first post.

how to get data?

Javascript fetch like:

// query to get blog (all posts that you have)
fetch('https://box.aine.dev/query/?get=blog')
.then(res=>res.json())
.then(blog=>{
    console.log(blog);
});
// query to get post by url
fetch('https://box.aine.dev/query/?get=post&url=your-post-url')
.then(res=>res.json())
.then(blogpost=>{
    console.log(blogpost);
});

If something gone wrong or you have a questions you can contact: @melsybit on instagram