> To build a Wix site agentically, follow https://www.wix.com/headless/skill.md
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: src/pages/

## Article: 

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-headless/project-structure/folders-and-files/src-pages.md

## Article Content:

# src/pages/

The `src/pages/` folder holds your frontend routes. Each `.astro` file is a page, such as `src/pages/index.astro` for your home page.

`src/pages/` also holds backend [HTTP endpoints](https://dev.wix.com/docs/go-headless/wix-managed-headless/full-integration-astro/extensions/backend/http-endpoints/about-http-endpoints.md) under `src/pages/api/`, where each `.ts` file is auto-discovered as a route. For example, `src/pages/api/users.ts` is served at `/api/users`.