PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Brex

Build AI-Assisted Full-Stack Transactions App

Last updated: Apr 22, 2026

Quick Overview

This question evaluates full‑stack engineering competencies including API design, data persistence, input validation, transactional integrity for monetary data, frontend-backend integration, automated testing, and developer documentation.

  • medium
  • Brex
  • System Design
  • Software Engineer

Build AI-Assisted Full-Stack Transactions App

Company: Brex

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Technical Screen

Using an AI coding tool of your choice (e.g., Cursor), build a minimal full‑stack web application that supports simple monetary transactions and account balances. Requirements: expose a REST or GraphQL API for creating transactions (credit/debit), persist data (in‑memory or lightweight DB is acceptable), provide a simple frontend to submit and view transactions, validate inputs, prevent negative balances, and include basic tests. Provide setup instructions and a concise README.

Quick Answer: This question evaluates full‑stack engineering competencies including API design, data persistence, input validation, transactional integrity for monetary data, frontend-backend integration, automated testing, and developer documentation.

Related Interview Questions

  • Design Points-from-Transactions Service - Brex (hard)
Brex logo
Brex
Aug 14, 2025, 12:00 AM
Software Engineer
Technical Screen
System Design
23
0

Build a minimal full‑stack app for monetary transactions

Objective

Implement a minimal full‑stack web application that supports basic monetary transactions and account balances.

Requirements

  • Backend API
    • Expose a REST or GraphQL API (choose one) to:
      1. Create accounts.
      2. Create transactions (credit or debit) against an account.
      3. Retrieve accounts and transactions.
  • Data persistence
    • In‑memory store or a lightweight database is acceptable.
  • Frontend
    • A simple page to:
      1. Create an account.
      2. Submit a credit or debit transaction.
      3. View the current balance and recent transactions.
  • Validation and rules
    • Validate inputs (e.g., non‑negative amounts with up to 2 decimal places, required fields).
    • Prevent negative balances (reject debits that would drive the balance below zero).
  • Tests
    • Include basic automated tests covering happy paths and error cases.
  • Developer experience
    • Provide setup instructions and a concise README.

Deliverables

  • Source code for backend and frontend.
  • Tests and instructions to run them.
  • README with how to run, API summary, and any assumptions.

Notes

  • Focus on correctness and clarity over breadth.
  • Handling money precisely is important; avoid floating‑point errors.
  • Keep the UI minimal; functionality matters more than styling.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Brex•More Software Engineer•Brex Software Engineer•Brex System Design•Software Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.