OpenSource-GH / dumsor-tracker-api

API For the Dumsor Tracker Project.
16 stars 7 forks source link

User schema methods and middleware #24

Closed Daniel-Sogbey closed 1 month ago

Daniel-Sogbey commented 1 month ago

Added middleware to hash user password before saving and method to remove password from use object before sending to client

starboyles commented 1 month ago

@Daniel-Sogbey hey man. Absolutely loved how you added pagination logic to the getAllUsers controller. I'd be glad if you implement this for all user request controllers. thanks!

Daniel-Sogbey commented 1 month ago

@starboyles alright