This is the official backend API for SkillSquare, a platform designed to connect users with local skilled professionals. It is built using modern .NET technologies and follows a robust repository pattern architecture.
Swagger UI: View Live API Documentation
- Framework: ASP.NET Core 8/9 Web API
- Language: C#
- Database: Azure SQL Database & Entity Framework Core
- Authentication: ASP.NET Core Identity & JWT (JSON Web Tokens)
- Real-time Communication: SignalR (WebSockets)
- Cloud Hosting: Microsoft Azure App Service
- N-Tier Architecture: Separation of concerns using Data Access Layer (DAL) and Controllers.
- Repository Pattern: Clean abstraction of database operations.
- Role-Based Authorization: Distinct access levels for Admins, Providers, and standard Users.
- Real-time Notifications: Instant alerts using SignalR Hubs.
To help reviewers and developers test the API, the following demo accounts are available:
- Email:
test@gmail.com - Password:
Test@123
- Email:
provider22@gmail.com - Password:
Provider@123
- Email:
admin@skillsquare.com - Password:
Admin@123
This API uses Bearer JWT for security. To test endpoints in Swagger:
- Go to the
/api/Auth/loginendpoint. - Enter your credentials to receive a JWT Token.
- Click the green Authorize button at the top of the Swagger page.
- Type
Bearerfollowed by a space, and paste your token.
- Clone the repository.
- Update the
DefaultConnectionstring inappsettings.jsonwith your local SQL Server details. - Ensure you have your
JwtSettingsconfigured inappsettings.json. - Run
Update-Databasein the Package Manager Console to apply EF Core migrations. - Press
F5to run the project locally via IIS Express or Kestrel.