acode-fix/transactionx-interview ? reverse-engineered prompt

Reverse engineered prompt

Please help me finish this Laravel wallet interview project.

I want the app to work for the two coding challenges in the repo. One is a wallet transfer flow that should be safe when two requests happen at the same time, and the other is a bug fix for duplicate wallet funding when a webhook gets retried. Please read the challenge notes, run the tests first, then implement whatever is missing and fix whatever is broken so the relevant test suites pass.

Keep the solution simple, readable, and well tested. If you need current Laravel or PHP docs, look them up online. I’d also like any small cleanup needed to make the code easier to understand, but don’t overbuild it or add extra features that aren’t part of the repo.

When you’re done, make sure the app still runs with SQLite, the tests pass, and the challenge submission notes are filled in clearly.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab