Not Providing Milkshakes

    cartridge-node-server

    0.0.6 • Public • Published

    Cartridge Node Server installation Build Status

    To use this module, you will need cartridge-cli installed and have a cartridge project setup.

    npm install cartridge-node-server --save-dev

    This module adds the following to a project:

    This is not a typical cartridge expansion pack. This bakes a node server into your cartridge project. It uses Node.js and express to build the server and present the html through port 3001.

    This mdule also uses handlebars tempating on the server side to compile the html.

    Config

    Once installed, you can start the instance of your server by calling node server.js in your command prompt.

    Usage

    Use this module at the beginning of a project to enable a server based setup.

    Warning

    There is no uninstall of this module, so please be sure that when choosing to install this module it is the correct install for your project.

    This module deletes any trace of itself from the node_modules folder and updates your package json so that it is represented if you choose to delete your node_modules and re-install.


    Development

    Commit message standards Commitizen friendly

    Try and adhere as closely as possible to the Angular commit messages guidelines.

    Commitizen is a command line tool which can help with this:

    npm install -g commitizen

    Now, simply use git cz instead of git commit when committing.

    Install

    npm i cartridge-node-server

    DownloadsWeekly Downloads

    8

    Version

    0.0.6

    License

    MIT

    Last publish

    Collaborators

    • andrewbrandwood