No description
Find a file
2024-12-05 09:36:47 +01:00
.storybook feature: new 2024-12-02 10:50:32 +01:00
src fix: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
.dockerignore feature: deployment, deps update & more 2024-09-06 15:02:33 +02:00
.env.example fix: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
.eslintrc.cjs style: prettier 2024-08-22 11:04:22 +02:00
.gitignore init 2024-08-21 17:08:42 +02: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: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
package.json fix: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
README.md fix: serverless and google cloud storage 2024-12-05 09:36:47 +01:00
tsconfig.json style: prettier 2024-08-22 11:04:22 +02:00
yarn.lock fix: serverless and google cloud storage 2024-12-05 09:36:47 +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 MongoDB.

Getting Started

Prerequisites

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

MongoDB

If you don't have docker on system installed, please follow the instructions for your operating system on the Docker website.

To pull the MongoDB docker image:

docker pull mongodb/mongodb-community-server:latest

To Run the image as a Container

docker run --name mongodb -p 27017:27017 -d mongodb/mongodb-community-server:latest

Postgres Database

You will need the an Postgres database including the postgis extension

docker pull postgis/postgis

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