rship
v2.1.0
Published
Ecosystem for building isomorphic web applications
Downloads
46
Readme
TL;DR
RSHIP (Rocket Ship) – isn't boilerplate. It's a tool for developing and building isimorphic web applications.
Slides
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;
Installation
$ 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
Default boilerplate
Contains
- React as view engine;
- Redux as state container;
- Webpack as compiler of client and server codebase;
- Stylus as style pre-processor;
- CSSModules;
- axios as HTTP client;
- Koa 2.0 as http web server;
- Jest as testing framework.
Goals
- Server Side Rendering;
- SEO compability;
- Similar codebase over all project;
- Performance;
- Maintainability;
How is it works?
Documentation
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
Developing
$ cd /Users/foo/code/application_name
$ rship run dev
Building globally
$ cd /Users/foo/code/application_name
$ rship run build