add rails-api app for server