Full-Stack Feature Builder
The ultimate coding pipeline for Next.js and React. Plan the architecture, write the backend API, and then build the frontend UI.
1
Architecture Planning
I want to build a [FEATURE] in Next.js App Router. Please outline the database schema (Prisma), the API routes needed, and the React components.
2
Backend / Database API
Based on the architecture from Step 1, write the complete code for the Prisma schema and the Next.js API route. Ensure proper error handling and status codes.
3
Frontend UI
Now write the frontend React component for this feature. Use Tailwind CSS for styling and lucide-react for icons. Make sure it fetches data from the API created in Step 2.