Update README.md : adding Endpoints section.

This commit is contained in:
Maxime Delporte
2025-10-10 14:36:02 +02:00
parent 8c0de92c43
commit b0ed205fdb

View File

@@ -1,3 +1,14 @@
# Endpoints
| 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 | createMoviesHandler | Create a new movie |
| GET | /v1/movies/:id | showMovieHandler | Show the details of a specific movie |
| PUT | /v1/movies/:id | editMovieHandler | Edit the details of a specific movie |
| DELETE | /v1/movies/:id | deleteMovieHandler | Delete a specific movie |
# Installation # Installation
## Launch API ## Launch API