Changeset 4f5d8fd for iknow-api/Models

Timestamp:
10/27/25 15:20:33 (11 months ago)
Author:
stefansaveski <stefansaveski19@…>
Branches:
master
Children:
c0256f3
Parents:
5eb7847
Message:

Add user-related models, services, and JWT validation

Added ContactInfo, EnrollmentInfo, and HighSchool models with relationships to the User entity. Updated AppDbContext and migrations to reflect these changes. Introduced UserService and IUserService for handling user data retrieval via JWT validation. Added UserController with a getUser endpoint to fetch user data based on JWT.

Enhanced IUserRepository and UserRepository with a method to fetch users by ID. Registered UserService in the DI container. Defined enums for EnrollmentInfo and HighSchool. Removed outdated migration files and performed general refactoring and cleanup.

Location:
iknow-api/Models
Files:
3 added

Note: See TracChangeset for help on using the changeset viewer.