data-creative / express-on-rails-starter-app

this repository supports a series of blog posts to help rails developers learn node and express

Home Page:https://express-on-rails-starter.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

this repository supports a series of blog posts to help rails developers learn node and express

https://express-on-rails-starter.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 96.9%Language:CSS 3.1%