Setup for Rails API