Rails web app and json API for group project