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
|
8 months ago | |
|---|---|---|
| bin | 8 months ago | |
| cmd/api | 8 months ago | |
| internal | 8 months ago | |
| migrations | 8 months ago | |
| .air.toml | 8 months ago | |
| .drone.yaml | 8 months ago | |
| .gitignore | 8 months ago | |
| Makefile | 8 months ago | |
| NOTES.md | 8 months ago | |
| README.md | 8 months ago | |
| go.mod | 8 months ago | |
| go.sum | 8 months 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 |