Health Check

Application for health checks and WordPress integration via GraphQL.

Available Endpoints

GET/health-check/app

Health check for the Next.js application

Returns the status, timestamp, service name, and uptime of the Next.js application

Test
GET/health-check/backend

Health check for WordPress backend connectivity

Tests the connection to the WordPress GraphQL endpoint and returns connectivity status, WordPress site information, and response time

Test
GET/health-check/redis

Health check for Redis connectivity

Tests the connection to the Redis instance using PING command and returns connectivity status and response time

Test
GET/api/pages

Fetch all pages from WordPress

Retrieves all WordPress pages with their content, metadata, featured images, and pagination information (up to 100 pages)

Test
GET/api/posts

Fetch all posts from WordPress

Retrieves all WordPress posts with their content, metadata, author information, categories, tags, and featured images (up to 100 posts)

Test

Note

The backend and Redis endpoints require configuration via environment variables: NEXT_PUBLIC_WORDPRESS_URL, REDIS_URL, and REDIS_PASSWORD.