A .NET 9+ Web API service for user management with CRUD operations. The API is accessible through Swagger UI and features a role-based access control system (Admin/User) with various account operations.
- Create default admin
POST /api/Users/init-default-admin
Creates an administrator account with default credentials:
- Login: Admin
- Password: AdminPass123
After authentication, all administrative endpoints become available.
Authorization cookies persist after server restart. Always explicitly terminate your session:
POST /api/Account/logout
- .NET 9 or higher
- Access to Swagger UI (/swagger)
- Input data validation
- Detailed error messages
- JWT authentication support
- Optional database integration
This project was developed as part of a technical interview process. During development, I gained expertise in:
- Web authentication mechanisms
- API design principles for web applications
- Swagger configuration and management
- Data transfer methods to endpoints using models
This intermediate-level challenge provided valuable opportunities to acquire new skills while enhancing existing competencies in API development!