0.3.42 • Published 1 year ago

create-node-ms v0.3.42

Weekly downloads
67
License
ISC
Repository
-
Last release
1 year ago

clean-node-ms

A optionated group of templates to help you build nice micro-services (in aws lamda) :bowtie:

Currently has two templates:

  • node-serverless-express (nse)
  • node-serverless-lambda (nsl)

Quick Overview

npx create-node-ms <template-name> -pn test-service
cd test-service
yarn dev

Global Options

  • -pn, --projectName(required): Project name
  • -p, --path: Absolute or relative path to create the project
  • --useNpm: Use npm instead of yarn to install depedencies
  • --noCommit: Don't do a first commit. If you has git, but not configured a name/email, git will fail to commit.
  • --verbose: Output verbose info
  • -d, --addDeps: Add extra depedencies that are not installed by default
  • -D, --addDevDeps: Add dev extra depedencies that are not installed by default

Templates

node-serverless (node-serverless-express | node-serverless-lambda)

Comes with two serverless flavors: express (node-serverless-express or nse) and lambda (node-serverless-lambda or nsl)

npx create-node-ms nse -pn serverless-express

  • Serverless Framework + serverless-offline using aws-serverless-express or raw lambda file
  • IoC|DI: InversifyJS
  • Testing: mocha + chai
  • Build: Typescript + Webpack

Has configuration for debugging within vscode (see .vscode/launch.json)

Contributing

  • Fork and clone this repo
  • Make changes
  • Run yarn dev, yarn dev:nse or yarn dev:nsl (or make code-nse || make code-nsl) to create a new template with your code changes
    • This will remove ../create-node-ms-junk folder
    • Create a ../create-node-ms-junk/ folder
    • And generate a new project with the name declared on your dev command on ../create-node-ms-junk/ folder
  • Commit your changes (this project has commitlint configured)
  • Send a PR :rocket:
0.3.42

1 year ago

0.3.39

4 years ago

0.3.38

4 years ago

0.3.37

4 years ago

0.3.36

4 years ago

0.3.35

4 years ago

0.3.34

4 years ago

0.3.33

4 years ago

0.3.41

4 years ago

0.3.40

4 years ago

0.3.31

4 years ago

0.3.30

4 years ago

0.3.29

4 years ago

0.3.28

5 years ago

0.3.25

5 years ago

0.3.24

5 years ago

0.3.23

5 years ago

0.3.22

5 years ago

0.3.21

5 years ago

0.3.12

5 years ago

0.3.20

5 years ago

0.3.11

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.5

5 years ago

0.3.0

5 years ago

0.1.33

5 years ago

0.2.0

5 years ago

0.1.31

5 years ago

0.1.30

5 years ago

0.1.24

5 years ago

0.1.25

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago