Added protection with csurf Added csurf package to enhance our app security against cross-site request forgery attacks ๐
Updated dependencies Made sure our dependencies are up to date in dependencies.js for optimal functionality and compatibility ๐
Cleaned up and secured data handling Removed console logs and sanitized user input before saving it to the database, improving privacy and data quality ๐งน๐
Improved passport deserializeUser function Switched to async/await for better readability and error handling with try-catch, making our code even more fabulousย ๐๐ก
Night Fixes
New dashboard route added A new path has been created for the dashboard, making navigation smoother!
Mongoose model improvements Now models return simple strings instead of objects for their _id fields, making it easier to work with.
Better user input sanitization Fixed an issue to now allow hyphens (-) in user inputs, ensuring valid characters are used. ๐
Enhanced tool model & middleware The tool model and middleware have been updated to show category data when searching for tools in the database (currently only used on test page). This will give more helpful information! ๐