Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 310 Bytes

File metadata and controls

5 lines (5 loc) · 310 Bytes
  • Modify main.go to store the MongoDB client and pass it to LoadHTTPRoutes
  • Update LoadHTTPRoutes function signature to accept *mongo.Client
  • Add necessary imports to http.go
  • Initialize repository, service, and handler in LoadHTTPRoutes
  • Add POST routes for /register, /login, /logout