Skip to content
Hobby project for learning how to develop a RESTful API web server for mobile apps
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Mobile API Server

A REST API web server for prototyping HTTP request-response features of mobile apps.
The server expects a JSON in the request, and responds also with a JSON data.

Environment

  • Mac OS X 10.10.5 (Yosemite)
  • Homebrew 0.9.5
  • Ruby 2.2.4
  • RVM 1.26.11
  • Rails 4.2.2
  • Heroku Toolbelt 3.43.9
  • Heroku CLI 5.2.39

Setup

  • HOW-TO setup Ruby and Rails
  • HOW-TO run the application in Heroku
    • Create an account in Heroku
    • Install the Heroku Toolbelt
    • Switch to the production branch (i.e. master)
    • In your local copy of the project:
      • heroku login
      • heroku keys:add
    • Prepare the heroku remote
      • If the heroku app already exists: git remote add heroku <git-URL-of-app>
      • If creating the app for the first time: heroku create <app-name>
    • Verify that the heroku remote was created:
      • git remote -v
    • Push production code to heroku: git push heroku master
    • Access the page using its https://app-name.herokuapp.com URL
You can’t perform that action at this time.