simple-blog-machine

1.0.3 • Public • Published

Simple blog machine

Basic blog backend with a full REST API and a simple command line tool.

Installation

npm install -g simple-blog-machine

Usage

Start the service

sbm start --username AdminUsername --password AdminPassword --port 3000

Login

sbm login --username AdminUsername --password AdminPassword --url localhost:3000

Create a post

sbm create post --title "POST TITLE" --content "$(cat /path/to/post/content.md)"

Edit a post

sbm edit post --content "$(cat /path/to/new/post/content.md)"

For more examples, check the test folder

/simple-blog-machine/

    Package Sidebar

    Install

    npm i simple-blog-machine

    Weekly Downloads

    1

    Version

    1.0.3

    License

    GPL-2.0

    Last publish

    Collaborators

    • agustincb