No description
Find a file
2025-12-16 12:29:38 +01:00
.storybook fix: storybook 2025-03-11 13:16:07 +01:00
src feat: announcements and calendar on homepage 2025-12-16 12:29:38 +01:00
.dockerignore feature: deployment, deps update & more 2024-09-06 15:02:33 +02:00
.env.example feature: contact form 2025-02-02 11:30:07 +01:00
.eslintrc.cjs style: prettier 2024-08-22 11:04:22 +02:00
.gitignore feature: Worship page 2024-12-17 14:45:18 +01:00
.prettierrc.json init 2024-08-21 17:08:42 +02:00
.yarnrc.yml feature: deployment, deps update & more 2024-09-06 15:02:33 +02:00
_template.scss feature: pages 2024-11-28 15:03:59 +01:00
docker-compose.yml init 2024-08-21 17:08:42 +02:00
Dockerfile fix: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
Dockerfile-old feature: deployment, deps update & more 2024-09-06 15:02:33 +02:00
next.config.mjs fix: bucket as env variable 2024-12-19 18:46:46 +01:00
package.json fix: react2Shell vulnerability 2025-12-12 14:42:02 +01:00
README.md feature: donations 2025-03-19 11:46:43 +01:00
tsconfig.json style: prettier 2024-08-22 11:04:22 +02:00
yarn.lock fix: react2Shell vulnerability 2025-12-12 14:42:02 +01:00

Heilige Drei Könige Website

This is the repository for the Heilige Drei Könige Catholic Church website, built using Payload CMS v3, NextJS, React and Postges.

Getting Started

Prerequisites

  • Node.js and npm: Make sure you have Node.js and npm installed on your machine.
  • Postgres: You'll need a PostgresSQL database to store the website data.

Postgres Database

You will need the an Postgres database including the postgis extension

docker pull postgis/postgis

Migration

To create a new database migration use:

yarn payload migrate:create [name]

After the changes are pushed to the production server, the migration has to be executed on the production database with yarn payload migrate

Todo: integrate this step in Continious Deployment

Environment variables

Please set the environment variables in the .env file

cp .env.example .env

Development server

npm run dev

Storybook

Storybook is a popular open-source tool used for building UI components and pages in isolation. Think of it as a playground for your user interface elements. It allows developers to create, test, and document components independently from the main application.

Run yarn storybook to view the storybook