setup rspec, added api_constraints.rb for routes