This website requires JavaScript.
Explore
Help
Sign In
giteacraftr.sxr08
/
greenlight
Watch
1
Star
0
Fork
0
You've already forked greenlight
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
f8f78c3eec6ab67647e44f75ec1f95614e96961a
greenlight
/
cmd
/
api
History
Maxime Delporte
f8f78c3eec
All checks were successful
Deploy Greenlight API / deploy (push)
Successful in 57s
Details
Adding concurrency control in our updateMovieHandler and documenting it.
2025-11-08 10:41:44 +01:00
..
errors.go
Adding concurrency control in our updateMovieHandler and documenting it.
2025-11-08 10:41:44 +01:00
healthcheck.go
Using the new error's helper methods inside our current API endpoint and with our httprouter Handlers NotFound and MethodNotAllowed (will override the default responses with our helper's methods)
2025-10-21 19:02:42 +02:00
helpers.go
Prevent client to send more than one JSON's object. Prevent client to send unknown fields. Prevent client to send more than 1MB of data per endpoint, preventing DDOS attacks.
2025-10-27 19:45:37 +01:00
main.go
Updating movies.go with MovieModel: this struct is the gateway between our app and the database. Adding CRUD methods alongside for the Movie object. Creating models.go: this file holds a Models struct wrapping all of our Models. This way, we are able to use in our application struct in our main.go.
2025-11-06 10:41:12 +01:00
middleware.go
Creating recoverPanic method inside our middleware.go file and use it inside routes.go wrapping our router.
2025-10-23 14:19:53 +02:00
movies.go
Adding concurrency control in our updateMovieHandler and documenting it.
2025-11-08 10:41:44 +01:00
routes.go
Updating updateMovieHandler to be able to update only some fields (patch instead of put). Update routes with the correct verb.
2025-11-07 11:57:04 +01:00