blank-cli

0.1.95 • Public • Published

Blank

Microservices platform for rapid CRUD applicaitons developing

Install

You need Node.js, npm and MongoDB installed on your system. We suggest to use Docker MongoDB 3.2 image

After setting up MongoDB run:

npm install blank-cli -g

Usage

blank init newApp
cd ./newApp
blank server

Compile with /lib/reactComponents

blank dist

Run server with /lib/reactComponents dev mode

blank server|one --dist

Run server with dist/bundle.js and chunks

blank server|one --with-dist

Web server will be reached on http://localhost:8080/;

Default username/password: root/toor

Development

Run Blank from src:

node /path/to/Blank/index.js server --dir=./

Where ./ is a directory with application config.

Services

blank-sr

https://github.com/getblank/blank-sr

Services registry - central point of all Blank infrastructure.

blank-router

https://github.com/getblank/blank-router

Component for work with client connections. Handles clients requests and manages workers tasks queue.

blank-node-worker

https://github.com/getblank/blank-node-worker

Blank application server. Processes tasks from queue.

Blank.json

Webpack custom settings

{
    ...
    "webpackConfig": {
        "externals": {
            "pdfjs-dist": "pdfjsDistWebPdfViewer",
            "pdfjs-dist/lib/web/pdf_link_service": "pdfjsDistWebPdfViewer.PDFJS"
        }
    }
}

Dependencies (39)

Dev Dependencies (1)

Package Sidebar

Install

npm i blank-cli

Weekly Downloads

188

Version

0.1.95

License

GPL-3.0

Unpacked Size

240 kB

Total Files

64

Last publish

Collaborators

  • getblank
  • ivahaev