#That API - Rails API + Devise
Rails for API only applications - https://github.com/rails-api/rails-api
Flexible authentication solution for Rails with Warden. - https://github.com/plataformatec/devise
A generic swappable back-end for JSON handling. - https://github.com/intridea/multi_json
Create JSON structures via a Builder-style DSL. - https://github.com/rails/jbuilder
Better error page for Rack apps. - https://github.com/charliesome/better_errors
An IRB alternative and runtime developer console. - https://github.com/pry/pry
Loads environment variables from .env
. - https://github.com/bkeepers/dotenv
Pg is the Ruby interface to the PostgreSQL RDBMS - https://rubygems.org/gems/pg
#Get Started
##Bundle Gems
bundle install
##Create a .env with
ORIGIN_URL='localhost'
Remember to add this Environment variable to production server for CORs support. The development server will use the .env file for environment variables.
###Create Database
rake db:create
###Run "DeviseCreateUsers" migration
rake db:migrate
###Start Rails Server
rails s
.''.
.''. . *''* :_\/_: .
:_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'.
.''.: /\ : /)\ ':'* /\ * : '..'. -=:o:=-
:_\/_:'.:::. | ' *''* * '.\'/.'_\(/_'.':'.'
: /\ : ::::: = *_\/_* -= o =- /)\ ' *
'..' ':::' === * /\ * .'/.\'. ' ._____
* | *..* : |. |' .---"|
* | _ .--'| || | _| |
* | .-'| __ | | | || |
.-----. | |' | || | | | | | || |
___' ' /"\ | '-."". '-' '-.' '` |____
jgs~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
& ~-~-~-~-~-~-~-~-~-~ /|
ejm97 ) ~-~-~-~-~-~-~-~ /|~ /_|\
_-H-__ -~-~-~-~-~-~ /_|\ -~======-~
~-\XXXXXXXXXX/~ ~-~-~-~ /__|_\ ~-~-~-~
~-~-~-~-~-~ ~-~~-~-~-~-~ ======== ~-~-~-~
##Don't forget to have some Javascript Pudding with That Api.
###Open to pull requests!