r/SQL • • 15d ago

Discussion Vibe coded projects

Pls suggest some projects that i can vibe code to show on my CV. Im 19 and i know basic mysql

0 Upvotes

11 comments sorted by

View all comments

1

u/DickBrainTime 14d ago

A small ticket-booking database could make a stronger MySQL portfolio project than another basic CRUD page. Have events, seats and bookings, then an active seat_claim table with a UNIQUE key on (event_id, seat_id). Keep booking/cancellation history separately so releasing a seat doesn't erase the record. The interesting test: open two MySQL sessions, try to claim the *same last seat* at once, and show that only one transaction can succeed. Handle cancellation, expiry and a client retry after an uncertain response too.

Include a repeatable seed script, tests for those cases, and one EXPLAIN comparison before/after an index change. In your README, explain the invariant (never sell the same seat twice), the transaction boundaries, and one race/failure you reproduced. AI can help scaffold a UI, but make sure you can write and explain the SQL yourself. Those concrete tradeoffs are far more useful to discuss in an interview than just saying you vibe-coded an app.

1

u/adolf_rizzzlerr 14d ago

Thats a great idea, thanks for the detailed suggestion, ill try to make it