Build a comprehensive website monitoring application with ReasonML, OCaml, and server-reason-react.
Features:
- Real-time website monitoring with HTTP status checks
- Email and webhook alerting system
- Beautiful admin dashboard with Tailwind CSS
- Complete REST API for CRUD operations
- Background monitoring scheduler
- Multi-container Docker setup with 1-core CPU constraint
- PostgreSQL database with Caqti
- Full documentation and setup guides
Tech Stack:
- OCaml 5.0+ with ReasonML
- Dream web framework
- server-reason-react for UI
- PostgreSQL 16 database
- Docker & Docker Compose
Files:
- 9 OCaml source files (1961 LOC)
- 6 documentation files (1603 LOC)
- Complete Docker configuration
- Comprehensive API documentation
💘 Generated with Crush
22 lines
441 B
Plaintext
22 lines
441 B
Plaintext
# Database Configuration
|
|
DB_PASSWORD=changeme_in_production
|
|
|
|
# SMTP Configuration (for email alerts)
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your-email@example.com
|
|
SMTP_PASSWORD=your-app-password
|
|
|
|
# Admin Email (receives all alerts)
|
|
ADMIN_EMAIL=admin@example.com
|
|
|
|
# Security
|
|
SECRET_KEY=change-this-secret-key-in-production-use-long-random-string
|
|
|
|
# Environment
|
|
ENVIRONMENT=development
|
|
|
|
# Server Configuration
|
|
PORT=8080
|
|
HOST=0.0.0.0
|