First you need to Install Go
then run this command to run a postgres container which maps port 5432 to localhost:5432
go run .
this will make available the following endpoints:
returns a JSON object with: a greeting message
returns a JSON object with: a healthcheck status message and timestamp
POST => http://localhost:8080/users
returns a JSON object with: a confirmation message and status code
GET => http://localhost:8080/users
returns a JSON array with: user objects
returns a JSON object with: user properties
returns a JSON object with: a confirmation message and status code
DELETE => http://localhost:8080/users/:id
returns a JSON object with: a confirmation message and status code