The user will create an account by registering. The logged in user will be able to add, delete and edit movies. If it couldn't login, it will get Unauthorized error. Users who are not logged in will only be able to get a list of all movies.
The application will use HTTP status codes to communicate the success or failure of an operation.
-
cd movie_app
-
Run application
docker-compese up -d
-
Browse Swagger UI http://localhost:8080/swagger/index.html
-
Autherizion
Baerer {mytoken}
- Run Tests
go test ./...
• Fetch all records
• Adding a record
• Deleting a record
• Record updating
• JWT Auth system
• UnitTest
• Swagger documentation
• Log structure