Добавление эндпоинта /health для версии и времени работы

Этот промпт предназначен для Claude Code или Claude CLI. Он помогает создать эндпоинт /health, который возвращает версию приложения и время его работы.

Тема: Разработка, Claude Code

Промпт

add a /health endpoint that returns the app version and uptime

When to use it: Use this prompt when you need to implement a health check endpoint in your application to monitor its status. What to expect from Claude Code: Claude Code will assist you in generating the necessary code for the /health endpoint, ensuring it returns the app version and uptime accurately. Practical tips: Make sure to test the endpoint after implementation to verify that it returns the expected data. Additionally, consider adding logging for monitoring purposes.

Для доступа к полному тексту откройте страницу в браузере.