add rails-api to gemfile. Generate scaffold with Candidates