Neat Paraskavedekatriaphobia's Meaning

npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

blank-cli

0.1.93 • 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"
        }
    }
}

install

npm i blank-cli

Downloadsweekly downloads

189

version

0.1.93

license

GPL-3.0

homepage

getblank.net

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability