Skip to content
Sign inJoin waitlist

Install and run — Goeboek Astro

Goeboek is a standard Astro project: install the packages once, then start the development server and edit while the page updates by itself.

Node.js 22.12 or newer (node -v). Download at https://nodejs.org — the LTS build is fine.
A package manager npm comes with Node. pnpm, yarn and bun work too.
A code editor VS Code with the Astro extension is the smoothest; any editor works.
A browser Chrome, Edge, Firefox or Safari.

No database, no account, no paid service, and no download when the site builds: the fonts ship as files in src/assets/fonts/. The site builds to static files you can host anywhere; only the forms’ optional server mode needs a server (Forms).

Unzip the template, open the folder in a terminal and run:

Terminal window
npm install

This downloads the packages listed in package.json into node_modules/. It takes a few minutes the first time.

Terminal window
npm run dev

Open http://localhost:4321. Save a file and the page updates by itself.

Command What it does
npm run dev Development server with live reload
npm run build Builds the static site into dist/ — every page is pre-rendered as an HTML file
npm run preview Serves dist/ locally, as a host would (run build first)
npm run check Checks the types, the content against its schemas and the Astro files

Run npm run check and npm run build before publishing, then look at the result with npm run preview. check catches a missing field or a typo in a content file that the development server tolerates, and the preview is the real thing: the built pages, served as a host serves them.

src/
pages/ one file per URL
index.astro Home
property.astro /property: every property, six at a time
type/[type].astro /type/sell and /type/rent
location/[slug].astro /location/<slug>, one page per location
property-category/[slug].astro /property-category/<slug>, one page per category
agent/[slug].astro /agent/<slug>, one page per agent
property/[slug].astro /property/<slug>, one page per property
blog.astro /blog: every post
blog/[slug].astro /blog/<slug>, one page per post
about.astro, contact.astro, add-property.astro
success-scheduled.astro where "Schedule tour" leads once sent
success-add-property.astro where Add property leads once sent
404.astro the page shown for an unknown address
sitemap.xml.ts the sitemap, built from routes and collections
robots.txt.ts robots.txt
style-guide.astro every component with examples (noindex; delete it to remove the page)
layouts/Layout.astro the <head> of every page (title, description, share card, icons, fonts), the sticky header and
the footer
components/
sections/ the sections of every page (Hero, FeaturedProperties, PropertyListing, PropertyOverview,
TourForm, AddPropertyForm, …)
site/ Header (with the phone menu and header.ts, its script) and Footer
content/
site.json name, title, description, domain, logo, the header's links and buttons, the contact
details, the social links and the footer
sections.json copy shared by several pages: the call to action, the property cards' labels, the
listing filter, the rating label
pages/*.json the copy of each page
collections/*.json properties, agents, locations, categories, posts and testimonials
routes.ts every URL in the site, in one place
schemas.ts the fields each kind of item has, and which are required
content.config.ts how the collections are loaded (the file to change for a CMS, see cms.md)
design-system/ tokens, components (props in types.ts) and their browser scripts (scripts/)
assets/images/ the photos, the logo's mark and the two success illustrations (/images/<file>); Astro resizes
and compresses them
assets/fonts/ Plus Jakarta Sans and Inter
styles/global.css imports Tailwind and the theme
integrations/
forms.ts adds the form route when the forms run in server mode
rescan.ts development only: makes the classes of a file you add reach the stylesheet
lib/
content.ts the only way pages read collections
to-ui.ts turns content into what the cards, the agent card and the filter show
listing.ts shared by the five listing pages
forms/ form delivery (demo, static and server modes) and its guide
meta.ts the browser title and the canonical link of a page
format.ts dates, prices and descriptions
public/ files served as they are: the browser icons (icon.png, apple-icon.png)
astro.config.mjs the site's address (from site.json), page files, the fonts, the forms integration
vercel.json clean addresses on Vercel
.env.example the form settings, to copy to .env

Delete src/pages/style-guide.astro if you don’t want the component gallery on your site; nothing else depends on it.

  • Install the Astro and Tailwind CSS IntelliSense extensions. VS Code suggests the first when you open the folder (.vscode/extensions.json).
  • npm run check reads your collections against the schemas: a missing field is reported with its collection, its item and its name, before you open the browser.
  • Search across files (Ctrl/Cmd + Shift + F) for a phrase you see on the demo site to find the file that holds it.

Keep your edits in src/content/, src/assets/images/, public/ and theme.css where possible. When a new version of the template ships, you can copy those into the new release instead of re-applying changes by hand. CHANGELOG.md lists what changed.