install API gem, generate new RAILS-API project, add dev group to gemfile, add devise and postgres and uglifier gems to gemfile and bundle