feat: add class registration via class code
Students can now join classes by entering a class code:
- Created class-registration-modal component with form
- Added joinClassByCode() function in classes.ts
- Added POST /api/classes/join API endpoint
- Integrated modal into classes-overview component
- Classes are joined by their ID (used as the class code)
- Validates class exists, not archived, and user not already enrolled
UI shows "+ Register for Class" card that opens the modal.
💘 Generated with Crush
Co-Authored-By: Crush <crush@charm.land>