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/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/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 endpoints require a WordPress instance to be configured via the NEXT_PUBLIC_WORDPRESS_URL environment variable.