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.
continuous-integration/drone/push Build is passing
Details
|
4 weeks ago | |
---|---|---|
bin | 4 weeks ago | |
cmd/api | 4 weeks ago | |
internal | 4 weeks ago | |
migrations | 1 month ago | |
.air.toml | 4 weeks ago | |
.drone.yaml | 1 month ago | |
.gitignore | 4 weeks ago | |
Makefile | 4 weeks ago | |
NOTES.md | 4 weeks ago | |
README.md | 4 weeks ago | |
go.mod | 4 weeks ago | |
go.sum | 4 weeks ago |
README.md
pulley
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 |