INNER CODE UNIT · Python

root

Kohei-Wada/taskdog · packages/taskdog-server/src/taskdog_server/api/app.py:112

    async def root() -> dict[str, str]:
        """Root endpoint."""
        return {"message": "Taskdog API", "version": __version__}

    @app.get("/health")
    async def health() -> dict[str, str]:
        """Health check endpoint."""
        return {"status": "ok"}

    return app


# Create app instance
app = create_app()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…