8000 GitHub - Murzbul/nexp-cli at v1.19.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Murzbul/nexp-cli

Repository files navigation

Nexp-cli NPM version

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.

1.png

Currently, there is a create command call, in the future more commands will be added.

2.png

Write the name of the project.

3.png

Choose the ORM.

4.png

Choose the HTTP library.

5.png

And wait for each action to complete.

6.png

Copy .env.dev to .env and install dependencies with yarn or npm.

7.png

Execute make dev command or STAGE=dev docker-compose up --build -d to create docker containers.

  • Node
  • DB
  • Redis
  • Mail
  • Minio

8.png

And it's ready to code.

9.png

Next

  • Choose more HTTP libs
  • Possibility to choose between database drivers such as postgres, mysql etc.
  • Creation of entire domains

Docs

Postman Documentation

API Documentation

Boilerplate Documentation

Boilerplate Documentation

MIT © Nathan Russo

About

Node Experience CLI

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

0