add gin router & health check endpoint
Review Request #2118 — Created Dec. 11, 2022 and submitted
Add gin router & health check endpoint
Adds the gin router and a health check endpoint at
GET /health
.
You can verify it still works by making a request to http://localhost:3000/api/v1/moon and you should see data that looks like this:
{ "moon": { "age": 17.55, "distance_km": 405440.6286692368, "illumination": 91.495, "phase": "Waning Gibbous", "zodiac": { "sidereal": "gemini", "tropical": "cancer" } } }
Summary | ID |
---|---|
276d77c31f0030ea34be9229822b409f84979f17 |