Skip to content
/ bard Public

Simple content management system for blogs using markdown

License

Notifications You must be signed in to change notification settings

humanova/bard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bard cms

Bard is a simple blog management system to create, update, delete and view markdown files.

Demo

demo

API Endpoints

/cms : GET

reads posts and renders main page

/cms?update_post=filename : GET

reads post and renders editor page

/create_post : POST

creates a new post with given title and text
{
  "title" : "Sample Post",
  "text" : "# Header\nThis is a sample text with *italic* and **bold**."
}

/update_post : POST

updates post with new title and text
{
  "filename" : "sample-post",
  "title" : "New Title",
  "text" : "New Text"
}

/delete_post : POST

deletes post
{
  "filename" : "sample-post"
}