diff --git a/README.md b/README.md index 59013a3..a11aee3 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,18 @@ ![build-status](https://drone.runcible.io/api/badges/learning/pulley/status.svg) -A Golang HTTP API \ No newline at end of file +A Golang HTTP API + + +## Routes + +Uses [CleanURLs](https://en.wikipedia.org/wiki/Clean_URL) + +| 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 | \ No newline at end of file