Created
December 9, 2018 12:21
-
-
Save jgwill/0dc05ac67b90b0e474489c0cb42697b5 to your computer and use it in GitHub Desktop.
@q What is Rails On Node: Opinionated Node.js Framework?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@q What is Rails On Node: Opinionated Node.js Framework? | |
# 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.) | |
npm install -g rails-on-node | |
node-rails create Tutorial | |
cd Tutorial | |
Run redis on default port 6379 | |
npm install | |
npm build:prod | |
npm start | |
Listen to port 8080 == http://localhost:8080/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment