Installation

This section describes how to get the project running locally. Ensure you have Node.js, pnpm (or npm/yarn), and Docker available if you run the backend locally.

Prerequisites

  • Node.js 18+
  • pnpm, npm, or yarn
  • For backend: Docker and Docker Compose (optional)

Frontend Setup

  1. Clone the repository and install dependencies:
pnpm install
  1. Copy environment variables and set the API base URL:
# .env.local
NEXT_PUBLIC_API_URL=https://your-api.example.com
# NextAuth
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret
  1. Run the development server:
pnpm dev

The app will be available at http://localhost:3000. Login and social features require the backend API to be running and reachable at NEXT_PUBLIC_API_URL.

Backend

The backend (NestJS, Prisma, PostgreSQL) is typically run via Docker or locally with a PostgreSQL instance. See the Backend section for setup and configuration.