POC Canary
Health Check POC
This is a proof-of-concept application for testing health checks and WordPress integration via GraphQL.
Available Endpoints
GET
/health-check/appHealth check for the Next.js application
Returns the status, timestamp, service name, and uptime of the Next.js application
GET
/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
GET
/api/pagesFetch all pages from WordPress
Retrieves all WordPress pages with their content, metadata, featured images, and pagination information (up to 100 pages)
GET
/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 endpoints require a WordPress instance to be configured via the NEXT_PUBLIC_WORDPRESS_URL environment variable.