Astro website with Payload CMS template

Payload CMS runs on the same process as astro to enable the usage of payload's local api.

Setup

This project uses pnpm and docker-compose for the mongo database.

  1. cd into apps/web

  2. Create a .env file from the .env.prod template.

  3. Run pnpm i

  4. Then pnpm dev to start the development server.

Build

pnpm build to build and pnpm serve to start a preview server.