Create the Rails API