this repository supports a series of blog posts to help rails developers learn node and express
JavaScript CSS
Clone or download
Pull request Compare This branch is 2 commits ahead of s2t2:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
public/stylesheets
routes
views
.gitignore
LICENSE.md
README.md
app.js
package.json

README.md

Express on Rails - Starter App

This repository supports a series of blog posts to help Rails developers learn Node.js and Express.

Contributing

Installation

git clone git@github.com:data-creative/express-on-rails-starter-app.git
cd express-on-rails-starter-app/

Checkout the relevant branch before making changes.

branch description blog post(s) production-ready? production location
starter A basic navigable app. Part 2
Part 3
Part 4
Part 5
false N/A
knex A basic PostgreSQL-connected app. Part 6a false N/A
mongo A basic MongoDB-connected app. Part 6b false N/A
knex-deploy A production-ready PostgreSQL-connected app. Part 7 true https://express-on-rails-starter.herokuapp.com/
mongo-deploy A production-ready MongoDB-connected app. Part 7 true https://express-on-rails-mongo.herokuapp.com/

Deploying

Configure remotes.

heroku login # get collaborator access to 'express-on-rails-starter' and 'express-on-rails-mongo' heroku applications
heroku git:remote -a express-on-rails-starter
git remote rename heroku heroku-starter
heroku git:remote -a express-on-rails-mongo
git remote rename heroku heroku-mongo

Deploy.

git push heroku-starter knex-deploy:master
git push heroku-mongo mongo-deploy:master

License