Skip to content

Dev 41 simpler service bc location directory#1082

Open
veenupunyani wants to merge 7 commits into
developfrom
dev-41-Simpler-Service-BC-location-directory
Open

Dev 41 simpler service bc location directory#1082
veenupunyani wants to merge 7 commits into
developfrom
dev-41-Simpler-Service-BC-location-directory

Conversation

@veenupunyani

Copy link
Copy Markdown
Collaborator

Locations directory is ready to review completing following requirements

  • User can access a public Service BC locations page without logging in
  • User can view all physical Service BC locations
  • Each location displays hours of operation
  • User can find the nearest Service BC location using current location.
  • User can view the services offered at a specific location (same as current gov.bc.ca/servicebc page)
  • User can start booking an appointment from this page, current the button isn't linked
  • The location page is pre-rendered via SSR
  • Locations are shown regardless of appointment availability

Local Development

cd appointment-booking
npm install
npm run dev

Open http://localhost:5173/locations (or / which redirects there).

Run Checks

npm run ci:check

Build for Production

npm run build
npm run start

The /locations route is prerendered at build time for SEO. The app runs on a Node server for SSR.

Added  scripts/prerender-locations.tsx to pre-render a static Service BC locations page and copy required CSS/fonts into public/.

Updated .gitignore to exclude generated public/locations and related assets.

Refactored src/index.css with layout and locations table styles to support the pre-rendered page.
deleted bunch of stuff from prerendering and added react router with one ssr page and one csr page
removed csr demo, bcds shell, and extra config page
added search and sort
header nad footer want working when js disabled so added those into css and imported via root
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant