Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A modern contribution and donation platform built with PayloadCMS and Next.js. Hogapayallows users to create donation "jars" and manage contributions with integrated payment processing.README 전문 보기 ↗A modern contribution and donation platform built with PayloadCMS and Next.js. Hogapayallows users to create donation "jars" and manage contributions with integrated payment processing.
hoga/
├── cms/ # PayloadCMS backend application
│ ├── src/
│ │ ├── collections/ # PayloadCMS collections
│ │ │ ├── Jars/ # Donation jar management with payment links
│ │ │ ├── Contributions/ # Donation tracking with status components
│ │ │ ├── Users/ # User authentication and management
│ │ │ └── Media/ # File uploads and media library
│ │ ├── app/ # Next.js app directory
│ │ │ ├── (frontend)/ # Public frontend routes
│ │ │ └── (payload)/ # Admin panel routes with custom styling
│ │ ├── lib/ # Utility functions
│ │ │ └── utils/ # Tailwind CSS utilities (cn function)
│ │ └── payload.config.ts # PayloadCMS configuration
│ ├── tests/ # E2E and integration tests
│ │ ├── e2e/ # End-to-end tests with Playwright
│ │ ├── int/ # Integration tests with Vitest
│ │ └── utils/ # Test utilities and cleanup
│ ├── postcss.config.mjs # PostCSS configuration for Tailwind
│ ├── tailwind.config.js # Tailwind CSS v4 configuration
│ ├── package.json
│ └── README.md # CMS-specific documentation
└── README.md # This file
Clone the repository
git clone https://github.com/adolfokrah/hoga.git
cd hoga
Navigate to the CMS directory
cd cms
Install dependencies
pnpm install
Set up environment variables
cp .env.example .env
Update the .env file with your:
MONGODB_URI)PAYLOAD_SECRET)Start the development server
pnpm dev
Access the application
For local development with Docker:
cd cms
docker-compose up -d
pnpm dev
The project includes comprehensive testing:
cd cms
# Run all tests
pnpm test
# Integration tests only
pnpm test:int
# End-to-end tests only
pnpm test:e2e
cd cms
# Development
pnpm dev # Start dev server
pnpm devsafe # Clean start (removes .next)
# Building
pnpm build # Production build
pnpm start # Start production server
# PayloadCMS
pnpm payload # PayloadCMS CLI
pnpm generate:types # Generate TypeScript types
pnpm generate:importmap # Generate import map
# Code Quality
pnpm lint # ESLint check
pnpm lint:fix # ESLint auto-fix
pnpm format # Prettier formatting
pnpm format:check # Check formatting
pnpm format:lint # Format and lint together
pnpm type-check # TypeScript type checking
The main configuration is in /cms/src/payload.config.ts:
tailwind.config.js for content paths and customization/cms/src/app/(payload)/custom.scss for admin panel stylingcn() function in /cms/src/lib/utils/tw-merge.ts for class mergingRequired environment variables:
MONGODB_URI: MongoDB connection stringPAYLOAD_SECRET: Secret key for PayloadCMSThe application can be deployed to various platforms:
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-featureThis project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
Built with ❤️ using PayloadCMS and Next.js