Skip to content

stavroskapris/wod-api

Repository files navigation

Workout of the day micro api

Functionality

This micro api serves and stores workouts for the day

Routes

Request api endpoint

GET  /work-out-of-the-day

Success Response

Response body:
{
    "title":"Fran",
    "workout":"21–15–9 Reps Thruster 95lbs Pull Ups"
}
POST /work-out-of-the-day

Success Response

Response body:
{
    "Added wod with title: Lynne"
}

Error Response

Response body:
{
    "message": "Server Error"
}

Build

 docker-compose build

Run

 docker-compose up
 visit http://localhost:8081

About

A dockerized golang micro api that serves and stores workouts for the day

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published