First, run the development server:
npm install
npm run dev
Open localhost:3000
First, run the development server with support for automatic reloading.
docker-compose -f docker-compose.dev.yml build
docker-compose -f docker-compose.dev.yml up --remove-orphans
Open localhost:3000
Or run the production server:
docker-compose build
docker-compose up --remove-orphans
Open localhost:3000
Configure the following environment variables to connect with the API:
NEXT_PUBLIC_API_URL=https://api.huwelijksplanner.online/api
NEXT_PUBLIC_API_TOKEN=...
NEXT_PUBLIC_MATOMO_URL=https://stats.utrecht.nl/analytics/
NEXT_PUBLIC_MATOMO_SITE_ID=...