Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

AI in Medical Education — Stanford Medicine

The public-facing site for Stanford Medicine's AI in Medical Education initiative, which integrates foundational AI knowledge, clinical applications, and ethical reasoning into medical education.

Live site: https://stanfordmed.github.io/aimeded-website/

Tech stack

Local development

Requires Bun (or Node + npm if you prefer — package.json works either way).

bun install
bun run dev      # start dev server on http://localhost:8080
bun run build    # production build
bun run preview  # preview the production build locally
bun test         # run the vitest suite

Project structure

public/images/        Local team photos served as static assets
src/
  pages/              Route-level components (Index, Overview, Learn, GetInvolved)
  components/         Page sections and shared UI
  components/ui/      shadcn/ui primitives
  assets/             Bundled images (hero, logos, etc.)

Deployment

Pushes to main trigger .github/workflows/deploy.yml, which builds the site with Bun and publishes the dist/ folder to GitHub Pages. The workflow also copies index.html to 404.html so client-side routes resolve on direct navigation.

The site is served from a sub-path (/aimeded-website/), so:

  • vite.config.ts sets base: "/aimeded-website/"
  • BrowserRouter is configured with the matching basename
  • References to files in public/ must be prefixed with import.meta.env.BASE_URL (e.g. `${import.meta.env.BASE_URL}images/foo.jpg`), not a leading /, or they will 404 in production.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages