Health Check
Application for health checks and WordPress integration via GraphQL.
Available Endpoints
/health-check/appHealth check for the Next.js application
Returns the status, timestamp, service name, and uptime of the Next.js application
/health-check/backendHealth check for WordPress backend connectivity
Tests the connection to the WordPress GraphQL endpoint and returns connectivity status, WordPress site information, and response time
/health-check/redisHealth check for Redis connectivity
Tests the connection to the Redis instance using PING command and returns connectivity status and response time
/api/pagesFetch all pages from WordPress
Retrieves all WordPress pages with their content, metadata, featured images, and pagination information (up to 100 pages)
/api/postsFetch all posts from WordPress
Retrieves all WordPress posts with their content, metadata, author information, categories, tags, and featured images (up to 100 posts)
Note
The backend and Redis endpoints require configuration via environment variables: NEXT_PUBLIC_WORDPRESS_URL, REDIS_URL, and REDIS_PASSWORD.