This is a simple API to manage movies using Go. You can perform basic operations like creating, reading, updating, and deleting movies.
- GET /movies: Get all movies
- GET /movies/{id}: Get a movie by ID
- POST /movies: Create a new movie
- PUT /movies/{id}: Update a movie by ID
- DELETE /movies/{id}: Delete a movie by ID
- Clone the repo:
git clone https://github.com/rishi-prajapati/CRUD-API.git
- Install dependencies:
go get github.com/gorilla/mux
- Run:
go run main.go
- API at
http://localhost:8000