A golang HTTP API
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Drew Bednar 0ef484a7d4
continuous-integration/drone/push Build is passing Details
Adding JSON marshalling
11 months ago
bin Working dev and health endpoint 11 months ago
cmd/api Adding JSON marshalling 11 months ago
internal Adding internal/assert for testing 11 months ago
migrations Initial project setup 11 months ago
.air.toml Working dev and health endpoint 11 months ago
.drone.yaml Initial project setup 11 months ago
.gitignore Working dev and health endpoint 11 months ago
Makefile Working dev and health endpoint 11 months ago
NOTES.md Working dev and health endpoint 11 months ago
README.md Adding markdown table 11 months ago
go.mod Updating mod 11 months ago
go.sum Added httprouter and additional movie route stubs 11 months ago

README.md

pulley

build-status

A Golang HTTP API

Routes

Uses CleanURLs

Method URL Pattern Handler Action
GET /v1/healthcheck healthcheckHandler Show application information
GET /v1/movies listMoviesHandler Show the details of all movies
POST /v1/movies createMovieHandler Create a new movie
GET /v1/movies/:id showMovieHandler Show the details of a specific movie
PUT /v1/movies/:id editMovieHandler Update the details of a specific movie
DELETE /v1/movies/:id deleteMovieHandler Delete a specific movie