Marketplace adds public agenda, private chat and commission-based payments in Next.js
A Next.js home-services marketplace was extended with provider agenda visibility, a private messaging interface, and a commission-aware payment flow. The original MVP only allowed browsing providers, lacking appointment slots, messaging, and platform payments. The developer's first attempt, using hard-coded schedule data and placeholder UI, failed because the data diverged from the database and nothing persisted. The fix introduced Appointment, Message, and Payment models in Prisma with a migration, along with related page and configuration updates. These changes aim to enable the core book-and-pay loop that a marketplace requires.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in