install postgresql
brew install postgresql
start postgres
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
install gems
bundle install
create your local db
rake db:create
rake db:migrate
you can open a db console w/
rails dbconsole
start the server
foreman start
In development mode you can view routes (thanks to sextant) by visiting
http://localhost:5000/rails/routes
- Add basic auth for api protection
- Add specs for API endpoints
- Add devise :auth_token for persistant user auth