Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Prompt libraryNovember 22, 20265 min read

A Prompt for a Local Directory Site

A good local directory is an opinion with a map. This brief builds one for a single city and a single topic, with pages search engines can find.

Startbase Team
Editorial ink illustration of a folded city map with a brass compass and hand-drawn coffee cups marking places, the compass needle in ember orange

Key takeaways

  • Narrow beats big: one city, one topic, and the fields that topic's visitors actually filter by.
  • Every listing, category and neighborhood gets its own page with a unique title, because those pages are what people search for.
  • Visitors suggest places; you approve them. Owners can claim a listing to update hours and photos.

To build a local directory site, start with a brief that fixes one city, one topic and the handful of details your visitors care about. The prompt below does that for a guide to independent coffee shops in one city: listings with hours, photos and tags like "laptop friendly", pages per neighborhood and per tag, a map, a form for visitors to suggest places, and a way for owners to claim and update their listing. Replace the city and topic with yours; the structure carries over.

The brief to paste

Build a directory website of independent coffee shops in Lisbon. Editorial, photo-led design that feels like a city guide, fast on phones. Use Startbase Cloud for data, photo storage and sign-in for me as admin and for listing owners. Data: neighborhoods (name, slug, short intro), tags (name, slug; seed: laptop friendly, roasts in house, specialty filter, outdoor seating, dog friendly, oat milk, opens early), listings (name, slug, neighborhood, address, latitude, longitude, opening hours per weekday, website, Instagram handle, short description written by me, up to 6 photos, tags, price level 1 to 3, status: draft, published, closed; claimed_by user, updated_at), suggestions (place name, address, why it belongs, suggester email, status: new, accepted, declined), and claims (listing, user, role at the business, status). Pages: 1) Home: intro, featured listings, browse by neighborhood and by tag. 2) Listing page at /place/slug: photos, description, tags, hours with "open now" computed in Lisbon time, a small map, address with a link to open directions in the phone's maps app. 3) Neighborhood pages and tag pages, each with its own intro text and the matching listings. 4) A map page with all published listings as pins, using an open-source map library and OpenStreetMap tiles with attribution. 5) Suggest a place form. 6) Admin: listings editor, suggestions queue, claims queue. Owners whose claim I approve can edit hours, photos and website, but not my description or tags. Every public page has its own title and meta description, and there is a sitemap listing every published page. Out of scope: reviews and ratings, user accounts for visitors, paid placements, and multiple cities.

What each part does

  • One city, one topic: a directory of "everything in a city" competes with map apps and loses. A directory of laptop-friendly independent coffee in one city has a point of view, and a point of view is why people bookmark it.
  • Tags chosen for the niche: "oat milk" and "opens early" are what this audience filters by. Your niche will have its own: wheelchair access, kids' menus, late opening, vegan options.
  • Description written by you, facts editable by owners: your voice is the value; the owner knows the hours. Splitting who edits what keeps both accurate and keeps the guide honest.
  • "Open now" in the city's time zone: a visitor planning from another country still needs Lisbon time. Naming the time zone avoids a classic bug.
  • A map with OpenStreetMap tiles and attribution: open map data needs attribution, and its public tile servers have usage policies for heavy traffic. Fine for a city guide; if traffic grows, switch to a paid tile provider.
  • Directions through the phone's maps app: building routing yourself is pointless when every phone has a better one a tap away.
  • Suggestions, not submissions: visitors suggest, you decide. That keeps quality high and turns your audience into scouts.
  • A page and title per listing, neighborhood and tag: people search "coffee in Alfama" and "laptop friendly cafe Lisbon". Those queries map to your neighborhood and tag pages, so each needs its own intro text, title and description.

One honest note on search: Startbase web projects are React single-page apps, which search engines index in two passes, first the initial HTML and then the rendered page. Per-page titles, a sitemap and real text on each page give both passes something to work with. The SEO and GEO guide in the docs covers sitemaps, canonical tags and structured data for this setup.

The next three prompts

  1. 01"Add structured data to each listing page describing it as a local business with name, address, coordinates, opening hours and website, and check that it validates."
  2. 02"Add a Closed status flow: when I mark a listing closed, its page stays up with a 'This place has closed' banner and three nearby open alternatives from the same neighborhood."
  3. 03"Add a Lists feature for me: editorial lists like 'Best for working on a Sunday' with an intro and an ordered set of listings, each list as its own page."

Structured data can help search engines understand a listing as a place. The closed flow keeps a page that people already link to useful instead of returning nothing. Editorial lists are the content people share, and they give the directory a reason to be talked about beyond search.

Two variations

A family-friendly places guide

Change the topic and the tags: playgrounds nearby, changing table, stroller access, high chairs, quiet hours. Add an age range field (toddlers, under 10, all ages) as a filter. Parents search in a hurry on a phone, so put "open now" and "near me" first.

A directory of local services with paid featured spots

For plumbers, tutors or photographers, owners pay to be featured: "Claimed listings can buy a 30-day featured spot through Stripe checkout; featured listings show first in their category with a Featured label." Payments go to your own Stripe account through Startbase Cloud. Keep featured spots clearly labeled, or visitors stop trusting the order.

Troubleshooting the first build

  • Pins land in the wrong place. Latitude and longitude get swapped more often than you would think. Ask: "Check every listing's coordinates fall inside Lisbon's bounds and list any that do not, then show latitude and longitude next to a small map preview in the admin form."
  • "Open now" is wrong after midnight. Hours that cross midnight (7:00 to 01:00) break simple comparisons. Ask: "Support opening hours that end after midnight and compute open now in Europe/Lisbon time, including the daylight saving change."
  • Owners can edit things they should not. Ask: "Owners of a claimed listing can update only hours, photos, website and Instagram. Enforce it in the database policies, not just the form."
  • Photos make pages heavy. Ask: "Resize uploaded photos to 1600 pixels wide and serve a smaller version on listing cards. Lazy-load photos below the first screen."
  • Pages share the same title. Ask: "Give every listing, neighborhood and tag page a unique title and meta description built from its name and intro, and check none are duplicated."

Tip

Add the first 30 listings yourself before launch, each with a real description and at least one photo you took or have permission to use. A directory with thin entries looks abandoned to visitors and search engines alike.

Going live

Publish in one click, then connect a custom domain on a paid plan; a short memorable domain matters for a city guide people mention out loud. Follow the custom domain guide for the DNS steps. For the deeper version of directory planning (data quality, categories, monetization), read how to build a directory website, and for getting the pages found, SEO for your new app.

Frequently asked questions

How do I start a local directory website?

Pick one city and one topic, choose the five to eight details your visitors filter by, add the first 30 listings yourself with real descriptions and photos, and give every listing, neighborhood and tag its own page.

Can I use OpenStreetMap for a directory map?

Yes, with attribution. Its public tile servers have usage policies, so a small guide is fine, and a busy site should move to a commercial tile provider.

How do local directories make money?

Common options are paid featured spots for businesses, sponsorships of editorial lists, and affiliate or partner links. Label anything paid clearly so visitors keep trusting the order.

On this page

  • The brief to paste
  • What each part does
  • The next three prompts
  • Two variations
  • Troubleshooting the first build
  • Going live

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.