766 B
766 B
Quickstart Guide
This guide provides instructions for setting up the project and running the tests.
Prerequisites
- Node.js (v18 or later)
- pnpm
Setup
-
Clone the repository:
git clone <repository-url> cd <repository-name> -
Install dependencies:
pnpm install -
Set up environment variables: Create a
.envfile in the root of the project and add the following variables:PAYLOAD_CMS_URL=... PAYLOAD_CMS_API_KEY=...
Running the development server
pnpm dev
The application will be available at http://localhost:4321.
Running the tests
Unit tests
pnpm test:unit
End-to-end tests
pnpm test:e2e