Skip to content

YoungVision-eV/website-cms

Repository files navigation

CMS for YoungVision.org - Built with Payload CMS

All Contributors

This is the content management system (CMS) for youngvision.org (repository), built using Payload CMS. It is currently used to create and manage the events displayed on our website.

📦 Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v16 or higher)
  • pnpm
  • docker / podman

🏃 Getting Started

  1. Clone the repository

    git clone https://github.com/YoungVision-eV/website-cms.git
    cd website-cms
  2. Install dependencies

    pnpm install
  3. Environment Setup

    • Copy the .env.example file to .env
  4. MongoDB Setup

    • Start MongoDB for example with Docker:
      docker run --name mongodb-website-cms -p 27017:27017 mongo:latest
    • If needed update the DATABASE_URI in the .env file
  5. Development

    • Start the development server:
      pnpm dev
    • The CMS will be available at http://localhost:3000/admin
  6. Build for Production

    pnpm build
  7. Start Production Server

    pnpm serve

📂 Folder Structure

  • src/collections/ - Collection definitions
  • src/seed/ - Script and media for seeding sample data
  • src/payload.config.ts - Payload configuration
  • src/server.ts - Express server

📜 Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm serve - Start production server
  • pnpm generate:types - Generate TypeScript types (which are used in the Frontend)

✨ Contributors

Thanks goes to these wonderful people (emoji key):

Hannes
Hannes

💻 📖
Jonas
Jonas

🚇 💻
ap
ap

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published