1.0.0-22 • Published 5 years ago

nodejs-on-rails v1.0.0-22

Weekly downloads
2
License
MIT License
Repository
github
Last release
5 years ago

Rails On Node: Opinionated Node.js Framework

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

Stable Version 1.3.2

Requirements

  • Node.js >= 8
  • Redis >= 4

Features

  • Create a new multithread Node.js server with Pug templating with 8 threads (Ruby on Rails has 5 for their server's scalibity)
  • Setup your own database (any SQL database or MongoDB)
  • Generate new api controllers
  • Generate new api versions
  • Creates automatic API documentation for endpoints on creation with no extra configuration
  • Creates automatic unit tests for endpoints on creation with no extra configuration
  • Generate new pages with assets with a custom route with code splitting
  • Use serverside React or Vanilla JS (JQuery, etc.)

Coming Soon

  • Generate server side Angular 4 Application
  • Generate server side Vue Application

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
1.0.0-22

5 years ago

1.0.0-21

5 years ago

1.0.0-19

5 years ago

1.0.0-20

5 years ago

1.0.0-17

5 years ago

1.0.0-18

5 years ago

1.0.0-16

5 years ago

1.0.0-15

5 years ago

1.0.0-14

5 years ago

1.0.0-13

5 years ago

1.0.0-12

5 years ago

1.0.0-11

5 years ago

1.0.0-10

5 years ago

1.0.0-9

5 years ago

1.0.0-8

5 years ago

1.0.0-7

5 years ago

1.0.0-6

5 years ago

1.0.0-5

5 years ago

1.0.0-4

5 years ago

1.0.0-2

5 years ago

1.0.0-1

5 years ago

1.0.0-0

5 years ago