Skip to content

Rocket Ship – node.js tool for developing and building isomorphic web applications

License

Notifications You must be signed in to change notification settings

rambler-digital-solutions/rship

Repository files navigation

Build Status NPM version Test Coverage Code Climate

TL;DR

RSHIP (Rocket Ship) – isn't boilerplate. It's a tool for developing and building isimorphic web applications.

asciicast

Goals

  • No pain with iterable stop/run node.js server;
  • Fast recompiling and starting node.js webserver processes;
  • Livereload over separated ports (html / (css/client js/images));
  • Source code compiling and running from RAM over MemoryFS;
  • Has instruments for debugging server side code;
  • Has CPU and RAM usage metrics;
  • Can works globally and locally as part of your project;
$ npm i rship -g          # via npm
$ yarn global add rship   # via yarn, !can be problems!

Initialize application

When RSHIP has been istalled, CLI is ready for creating application from DEFAULT BOILERPLATE

$ rship new application_name # rship n applciation_name

Contains

Goals

  • Server Side Rendering;
  • SEO compability;
  • Similar codebase over all project;
  • Performance;
  • Maintainability;

How is it works?

CLI

$ rship

Usage: rship [options] [command]

  Commands:

    new|n     [name]                   create ship application
    setup|s   [options]                setup application
    run       [env]                    run development mode
    install|i [options] [packages...]  install system dependencies
    remove|r  [options] [packages...]  remove client/server dependencies

  CLI for building Isomorphic Web App

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
$ cd /Users/foo/code/application_name
$ rship run dev
$ cd /Users/foo/code/application_name
$ rship run build