Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 602 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 602 Bytes

MovieApi

Follow the instructions below to run the project

Change Directory

.env.exmaple change to .env
cd movieapi

Run the project

go run .

You can play with the following endpoints with Postman or any rest client.

Endpoints
GET /api/v1/movie/getAllMovies get all movies
GET /api/v1/movie/getMovie/:id get movie with id
DELETE /api/v1/movie/delete/:id delete movie with id
POST /api/v1/movie/createMovie insert movie object
PUT /api/v1/movie/updateMovie/:id update movie object

Let's go to golang programming