Rails API backend for in-person cryptocurrency exchange