laynef / RailsOnNode

Scalable opinionated Node.js Framework based on Ruby on Rails with automatic API docs, server-side React, auto-generators, and code splitting.
https://railsonnode.com/
MIT License
8 stars 1 forks source link
framework javascript node ruby-on-rails

Rails On Node: Opinionated Node.js Framework

Check out the API Documentation: https://railsonnode.com/

Stable Version 1.3.2

Requirements

Features

Coming Soon

Installation

// brew install redis
// Must have redis running on default port 6379: redis-server
npm i -g rails-on-node
npm i -g sequelize-cli
npm i -g mongoose-model-cli
node-rails create <Your project>
node-rails setup-data-base <Your database type [sql *or* mongodb]>
node-rails new-api-controller users
node-rails new-page blogs '/blogs' // Add new route
npm install
npm run build:prod
npm start

CLI Documentation

// For all commands
node-rails

// For a single command
node-rails <command-name> --help