Microservices platform for rapid CRUD applicaitons developing
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 -gblank init newApp
cd ./newApp
blank serverCompile with /lib/reactComponents
blank distRun server with /lib/reactComponents dev mode
blank server|one --distRun server with dist/bundle.js and chunks
blank server|one --with-distWeb server will be reached on http://localhost:8080/;
Default username/password: root/toor
Run Blank from src:
node /path/to/Blank/index.js server --dir=./Where ./ is a directory with application config.
https://github.com/getblank/blank-sr
Services registry - central point of all Blank infrastructure.
https://github.com/getblank/blank-router
Component for work with client connections. Handles clients requests and manages workers tasks queue.
https://github.com/getblank/blank-node-worker
Blank application server. Processes tasks from queue.
Webpack custom settings
{
...
"webpackConfig": {
"externals": {
"pdfjs-dist": "pdfjsDistWebPdfViewer",
"pdfjs-dist/lib/web/pdf_link_service": "pdfjsDistWebPdfViewer.PDFJS"
}
}
}