This repository contains a full-stack web application consisting of a Next.js frontend and a Strapi backend, connected to a PostgreSQL database.
/frontend- The Next.js frontend application./backend- The Strapi backend CMS./docs- Specifications (BRD, TRD, integration contract, technical specs, roadmap). Start atdocs/README.md.
- Node.js (v18 or higher recommended)
- PostgreSQL database
- Navigate to the backend directory:
cd backend - Install dependencies:
npm install
- Set up the
.envfile with your PostgreSQL credentials. - Run the development server:
npm run develop
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Set up the
.env.localfile pointing to the Strapi API URL. - Run the development server:
npm run dev