Files
website-enchun-mgr/specs/001-users-pukpuk-dev/quickstart.md

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

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-name>
    
  2. Install dependencies:

    pnpm install
    
  3. Set up environment variables: Create a .env file 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