JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 43
  • Score
    100M100P100Q79724F
  • License MIT

A generator to generate mvp-rockets projects

Package Exports

  • @mvp-rockets/namma-generator
  • @mvp-rockets/namma-generator/index.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 (@mvp-rockets/namma-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

1. Introduction

A generator to generate mvp-rockets projects/boilerplate codes.

2. Pre-requirement

  • Ubuntu 20.04 or above
  • docker(19.xx or above)
  • docker-compose(1.28.xx or above)

3. Installation

npm i -g @mvp-rockets/namma-generator

4. Create the project/boilerplate codes.

mkdir project-name && cd project-name
namma_generate

Questions asked during the generation process: Project Name: (defaults to the current directory name)

Services to setup:

Service Name:

  • Will create a sub-directory of that name and copy the service code.
  • Will define the service name within package.json as project-name-service-name (e.g. project-api)
  • Set the service version as 1.0.0

In case of API, additional prompt "Cloud Provider" is asked for.

  • Currently we have only published the AWS version.

5. Development

This project uses git submodule. First time cloning: git clone --recurse-submodules -j4 Else, after cloning, you will need to run the following for the first time. git submodule update --init --recursive

Whenever you want to update the submodules, run git submodule update --recursive