Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @realvikas/nodegen with all npm packages installed. Try it out:

var nodegen = require("@realvikas/nodegen")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@realvikas/nodegen v2.0.1

A CLI tool for creating nodejs app 🚀

nodegen

A CLI tool for creating nodejs app 🚀

Installation

$ npm install -g @realvikas/nodegen

After installation you have access to the binary. You can use the following command to verify the installation.

nodegen -v

For getting help about the cli

nodegen --help

Quick Start

Creating the app:

$ nodegen init

This command will guide you to a series of question.

Project Structure

> app
    > {component}
        - {component}.controllers.js
        - {component}.dal.js
        - {component}.model.js
        - {component}.routes.js
    - app.js
> bin
    - www.js
> config
    - keys.js
> src
    - server.js
> utils
    - error.js
.env
.eslintignore
.eslintrc.json
.gitignore
LICENSE
README.md
package.json

License

MIT

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free