1.0.44 • Published 5 years ago
backendx-cli v1.0.44
backendx-cli
CLI for creating apps using BackendX with ease
Usage
Install
Using NPM:
npm install -g backendx-cli
ot using Yarn:
yarn global add backendx-cli
Create project
This will create project called "example":
backendx init example
You can specify absolute path as well:
backendx init /home/user/Projects/example
Run in development mode
After executing backendx init ...
navigate to project's folder and run
yarn dev
or
npm run dev
This will run app in development mode with auto-reload.
Note: development mode won't work if you have force disabled it in
Server
constructor
Build for production
To build production-ready bundle, run
yarn build
or
npm run build
After this you'll have bundle.js
in build
folder. Put this file on your server and run
Help
backendx [command]
Commands:
backendx init <name> Create a new project
Options:
--help Show help [boolean]
--version Show version number [boolean]
--verbose, -v Print detalized information [boolean]
License
backendx-cli
as well as backendx
is licensed under MIT license. See LICENSE