Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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://github.com/laynef/railsonnode
framework javascript node ruby-on-rails
Last synced: about 1 month ago
JSON representation
Scalable opinionated Node.js Framework based on Ruby on Rails with automatic API docs, server-side React, auto-generators, and code splitting.
- Host: GitHub
- URL: https://github.com/laynef/railsonnode
- Owner: laynef
- License: mit
- Created: 2018-08-20T22:18:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:20:17.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T19:40:50.147Z (about 1 month ago)
- Topics: framework, javascript, node, ruby-on-rails
- Language: JavaScript
- Homepage: https://railsonnode.com/
- Size: 2.78 MB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
// 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
node-rails setup-data-base
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
```bash
// For all commands
node-rails// For a single command
node-rails --help
```