Reference

Welcome Page

Every CEM-generated project serves a styled landing page at / — built to confirm the server is alive and to give new contributors a guided tour.

What you get

  • Dark background with cyan accents and a monospace font, matching the CLI
  • CEM badge, project name with blinking cursor, and version pulled live from package.json
  • Live server status indicator
  • Available routes list with color-coded HTTP methods
  • Clickable /health check link
  • Footer with CEM branding

Where it lives

The page is generated from src/app/utils/welcomePage.ts and mounted on GET / inside app.ts.

ts
import { welcomePage } from './app/utils/welcomePage';

app.get('/', (_req, res) => {
  res.send(welcomePage());
});