Set up a backend with supabase
“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”
Free AI prompt · The Code Book
A ready-to-use prompt from the chapter Backend. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Add a backend endpoint to my app that [creates/reads/updates/deletes] [resource] from my database. Handle errors gracefully and return a friendly message if something goes wrong.”
“Set up a backend for my app using Supabase. I need tables for [users, posts, comments]. Include row-level security policies so users can only edit their own data.”
“Connect my frontend to my Supabase backend. Fetch [posts/products/users] from the database and display them on the [homepage/dashboard]. Add loading and error states.”
“Set up a new Next.js project with TypeScript, Tailwind CSS, and App Router. Create a clean homepage with a [header/hero/features] layout.”
“Convert my single-page app into multiple pages with proper navigation. Add routes for [home, about, dashboard, settings].”
“Make my website fully responsive so it looks great on phones, tablets, and desktops. Use Tailwind CSS breakpoints and make sure the navigation works on mobile with a hamburger menu.”
“Create a new page at /pricing that shows three pricing tiers in cards. Add it to the navigation bar too.”