@abslibs/abscli 中文文档教程
Welcome to the @abslibs/abscli
Auther
- Arpit Yadav
> npm i -g @abslibs/abscli
@abslibs/abscli 旨在为 flex-server-mongodb 提供一个简单的模块创建器。
- Node.js : JavaScript runtime environment – lets you implement your application back-end in JavaScript
Pre-requisites
- git - Installation guide .
- node.js - Download page .
- npm - comes with node or download yarn - Download page .
- mongodb - Download page .
Cloniong and run
git clone https://github.com/arpit-absyadav/@abslibs/abscli.git
cd @abslibs/abscli
npm install
sudo npm link (for registering)
Use commands
> cd ` to folder where you want to create the module`
> @abslibs/abscli # Will get all possible command combinations.
#
Commands
1 - Create Server
> @abslibs/abscli --server servername
# cd to module folder
> @abslibs/abscli --module modulename
2 - Create Server with multiple database
> @abslibs/abscli --server servername --multi-db-conn
# cd to module folder
> @abslibs/abscli --module modulename --multi-db-conn
Welcome to the @abslibs/abscli
Auther
- Arpit Yadav
> npm i -g @abslibs/abscli
The @abslibs/abscli is intended to provide a simple module creator for flex-server-mongodb.
- Node.js : JavaScript runtime environment – lets you implement your application back-end in JavaScript
Pre-requisites
- git - Installation guide .
- node.js - Download page .
- npm - comes with node or download yarn - Download page .
- mongodb - Download page .
Cloniong and run
git clone https://github.com/arpit-absyadav/@abslibs/abscli.git
cd @abslibs/abscli
npm install
sudo npm link (for registering)
Use commands
> cd ` to folder where you want to create the module`
> @abslibs/abscli # Will get all possible command combinations.
#
Commands
1 - Create Server
> @abslibs/abscli --server servername
# cd to module folder
> @abslibs/abscli --module modulename
2 - Create Server with multiple database
> @abslibs/abscli --server servername --multi-db-conn
# cd to module folder
> @abslibs/abscli --module modulename --multi-db-conn