Skip to content

Conversation

znguye
Copy link

@znguye znguye commented May 24, 2025

No description provided.

znguye and others added 15 commits May 24, 2025 16:57
feat(server): add CORS middleware
Created student and cohort schema / models
Added Populate() and Cohort Routes + Student Routes
- Added required validation for _id fields in cohort and student schemas.
- Updated cohort routes to handle _id correctly and improved error logging.
- Modified student routes to convert cohortId and studentId to numbers for consistency.
Copy link
Author

@znguye znguye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing my own changes

- Introduced user routes for handling user-related operations.
- Added bcryptjs and jsonwebtoken as dependencies for user authentication.
- Fixed a typo in the user model schema for the email field.
- Corrected the route definition for login in auth routes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants