- Updated password hashing and verification functions to use bcryptjs for improved compatibility.
- Added a constant-time string comparison function to enhance security against timing attacks.
- Refactored JWT token generation to utilize environment variables for secret management.
- Adjusted user roles in registration and role selection components to align with new role definitions.
- Cleaned up unused imports and improved code organization across several files.
This change enhances security and maintains consistency in the authentication process.wd
Major improvements to make the repository welcoming for new contributors:
- Completely rewrote README.md with clear project overview, installation steps, and professional presentation
- Added comprehensive CONTRIBUTING.md with development workflow, code standards, and contributor recognition
- Created MIT LICENSE file for proper open source compliance
- Added .env.example files for both frontend and CMS API with all necessary configuration variables
- Organized documentation in docs/ folder for better structure
- Removed outdated files and AI-related placeholders
- Updated project description to focus on sustainable technology mission
- Added professional badges and clear feature descriptions
- Included proper setup instructions for both development environments
The repository now presents a professional, legitimate open source project that clearly communicates its purpose and makes it easy for developers to contribute.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>