Development Setup

This guide covers the local development workflow for contributors.

Prerequisites

  • Node.js 18+

  • npm 9+

  • MongoDB (local or Atlas)

  • Git

Clone and Install

git clone https://github.com/KennyGraham1/catalogofcatalogs.git
cd catalogofcatalogs
npm install

Environment Configuration

Copy the example environment file and update the values for your environment:

cp .env.example .env.local

Start the Development Server

npm run dev

The application runs at http://localhost:3000 by default.

Database Initialization

Initialize MongoDB collections and indexes:

npx tsx scripts/init-database.ts

Next Steps