Skip to content

About

Nodejs blog api based on markdown

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

Repository files navigation

marked-blog

A Blog rest api provider based of markdown files

Install dependencies

yarn

Or by npm

npm install

posts

In posts directory you will put your post markdown files with this naming system

YYYY-MM-DD-post-title-by-slug

Endpoints

url resource
/ A array of posts with meta and compiled post content
/:slug A object of single post
/tag/:tagName A array of filtered post of specific tag name

Example Response

[
  {
    "meta": {
      "title": "post title",
      "description": "Post description",
      "slug": "this-is-post-slug",
      "tags": [
        "tag1",
        "tag2",
        "tag3",
        ................
        ................

      ],
      "date": {
        "date": "2019-03-17",
        "year": "2019",
        "month": "03",
        "day": "17"
      }
    },
    "body": ".. compiled html ..."
  },
  ............
  ............
]

About

Nodejs blog api based on markdown

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages