Package Exports
- nexp-cli
- nexp-cli/bin/createProject.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nexp-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Nexp-cli 
This CLI is made to be able to quickly create the NExp(https://github.com/DigiChanges/node-experience) boilerplate with all the content you want it to have.
It allows you to choose between Mongoose, TypeORM and MikroORM when it comes to database persistence. In addition, you can also choose between Koa and Express for the HTTP library.
This tool allows you to use NExp without the need to modify the code.
Installation
First, install nexp-cli using npm (we assume you have pre-installed node.js).
npm install -g nexp-cli
Then generate your new project:
nexp-cli create
Step by Step
First of all install nexp cli package globally.
Currently, there is a create
command call, in the future more commands will be added.
Write the name of the project.
Choose the ORM.
Choose the HTTP library.
And wait for each action to complete.
Copy .env.dev to .env and install dependencies with yarn or npm.
Execute make dev
command or STAGE=dev docker-compose up --build -d
to create docker containers.
- Node
- DB
- Redis
- Minio
And it's ready to code.
Next
- Choose more HTTP libs
- Possibility to choose between database drivers such as postgres, mysql etc.
- Creation of entire domains
Docs
Postman Documentation
Boilerplate Documentation
MIT © Nathan Russo