Build your own Facebook Marketplace with Claude Code
Local buying and selling: list an item, browse nearby, message the seller and more.
The Claude Code prompt
Build my own take on Facebook Marketplace: local buying and selling. Give it an original name, logo, colours and copy, and do not use Facebook Marketplace's name, branding or assets. Version one should have: - List an item - Browse nearby - Message the seller - Saved items - Seller ratings The hard part: Location search. Use PostGIS. How to build it: 1. Read this folder first. If it is empty, set up Next.js (App Router, TypeScript, Tailwind) with Postgres through Prisma or Supabase, and Supabase Auth or Auth.js for sign-in. Write a short PLAN.md with the data model, screens, third-party services and what you are leaving out of version one. 2. Build the core loop end to end before anything else: list an item, working with real data saved to the database. 3. Add the rest of the features one at a time, and seed realistic demo data so every screen looks alive. 4. Keep API keys in environment variables, and put any paid service behind a small interface with a local stub, so the app runs on a fresh machine without accounts. 5. Run it, click through every screen on desktop and mobile widths, fix what breaks, and finish with a summary of what works, what is stubbed and how to deploy it.
Paste it into Claude Code in an empty folder. It plans first, so read PLAN.md and steer before it starts building.
Version one
- List an item
- Browse nearby
- Message the seller
- Saved items
- Seller ratings
The hard part
Location search. Use PostGIS.
Make it yours: a niche Facebook Marketplace ignores, an original name and brand, and one feature it does badly done well.
More to build
- Your own Uber
A ride-hailing app: rider requests a ride from a map, driver app accepts nearby jobs, live driver location on the map and more.
- Your own Airbnb
A short-term rental marketplace: hosts list a place with photos and a calendar, guests search by location and dates, booking requests and confirmations and more.
- Your own Shopify
An online store builder: product catalogue with variants, storefront with cart and checkout, orders dashboard and more.
- Your own DoorDash
A food delivery marketplace: restaurants with menus, cart and checkout, order tracking for customers and more.
- Your own Uber Eats
A food ordering and delivery app: browse nearby restaurants, menus with options and extras, checkout with tips and more.
- Your own Etsy
A marketplace for handmade goods: seller shops with listings, search and categories, cart across multiple shops and more.