This is a simple API developed using gin framework in go
Makes use of sqlite3 as database
Functonalities add,view,delete,update movies in database
Users can register themselves and then login for which jwt is generated
If you like the project please do ⭐ it 😇
How to Run
- Clone the Repository
- Install binaries using go mod download
- Run using go run main.go
- Head over to http://localhost:8000/api/v1/health to check if running or no
- To generate swagger docs run the swagger.sh file
- Make sure to get swagger by using the command go get -u github.com/swaggo/swag/cmd/swag
- Replace go path in file with your go path
- Service testing is in the tests folder , run go test to run tests
To Update Swagger
To update swagger run the swagger bash script and then run the application