# micronode-cli

> CLI to Build Microservice Architectures using nodejs + express

Latest version **1.0.3** (published 2021-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install micronode-cli
pnpm add micronode-cli
yarn add micronode-cli
bun add micronode-cli
```

Provides the commands `mn`, `micronode`.

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-05-07 |
| First published | 2021-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 5 |
| Unpacked size | 12.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Gerard Taylor |
| Maintainers | gtaylor5 |
| Keywords | oclif |

## Links

- npm: https://www.npmjs.com/package/micronode-cli
- Repository: https://github.com/gtaylor5/micronode
- Issues: https://github.com/gtaylor5/micronode/issues
- npm.io page: https://npm.io/package/micronode-cli

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^4.1.1
- [tslib](https://npm.io/package/tslib.md) ^1.14.1
- [@oclif/config](https://npm.io/package/@oclif/config.md) ^1.17.0
- [@oclif/command](https://npm.io/package/@oclif/command.md) ^1.8.0
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) ^3.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-05-07
- 1.0.2 — 2021-05-07
- 1.0.1 — 2021-05-07
- 1.0.0 — 2021-05-06

## README

# micronode

A simple CLI to Build Microservice Architectures using nodejs + express

There tends to be a lot of boilerplate code that gets implemented when creating services / APIs
using `nodejs` and `expressjs`. This CLI hopes to automate some of the repetitive configuration associated with building microservices.

[![Version](https://img.shields.io/npm/v/micronode.svg)](https://npmjs.org/package/micronode-cli)
[![Downloads/week](https://img.shields.io/npm/dw/micronode.svg)](https://npmjs.org/package/micronode-cli)
[![License](https://img.shields.io/npm/l/micronode.svg)](https://github.com/gtaylor5/micronode/blob/master/package.json)



# Usage
```sh-session
$ npm install -g micronode
$ micronode --help [COMMAND]

USAGE
  $ micronode COMMAND
  $ micronode create-service <service-name> -d <path>
```
## Commands
### **`create-service`**  -> Create a new microservice
```
Create a new microservice.

USAGE
  $ micronode create-service [NAME] -d [PATH]

OPTIONS
  -d, --dir=dir  (required) [default: Current Directory] Location to place the new service.
  -h, --help     show CLI help

EXAMPLE
  $ mn create-service gateway .

OUTPUT

The output is a scaffold with a pre configured service
that has the following:

- Dockerfile -> Generates a container image for your service
- index.js -> Server definition for your service
- api/api.js -> Simple CRUD Routes.

gateway/
  Dockerfile
  index.js
  api/
    api.js
```



  
## Authors

- [@Gerard Taylor](https://www.github.com/gtaylor5)

---
_Source: https://npm.io/package/micronode-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
