A centralized backend service powering multiple administrative dashboards. Built with ASP.NET Web API and MS SQL Server.
Admin Hub API serves as the core backend infrastructure for managing multiple administrative dashboards. It provides a unified interface for data management, authentication, and business logic operations across different administrative frontend applications.
- Framework: ASP.NET Web API
- Database: Microsoft SQL Server
- Authentication: JWT-based authentication
- Documentation: Swagger/OpenAPI
- 🔐 Centralized authentication and authorization
- 🔄 RESTful API endpoints for multiple dashboard operations
- 📊 Data aggregation and reporting services
- 🔍 Advanced search and filtering capabilities
- 📝 Audit logging and activity tracking
- 🛡️ Role-based access control (RBAC)
- .NET 8.0 SDK or later
- MS SQL Server 2019 or later
- Visual Studio 2022 (recommended) or VS Code or Intellij Rider
- Clone the repository
git clone https://github.com/design-sparx/admin-hub-api.git
cd admin-hub-api
- Update the connection string in
appsettings.json
{
"ConnectionStrings": {
"DefaultConnection": "Data Source={{PC-NAME}}\\SQLEXPRESS;Initial Catalog={{DB-NAME}};Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"
}
}
- Run database migrations
dotnet ef database update
- Start the application
dotnet watch run
admin-hub-api/
├── AdminHubApi/
│ ├── Controllers/
│ ├── Data/
│ ├── Dtos/
│ └── Extensions/
│ └── Helpers/
│ └── Interfaces/
│ └── Mappers/
│ └── Migrations/
│ └── Models/
│ └── Repository/
│ └── Service/
├── tests/
└── docs/ # Additional documentation
API documentation is available via Swagger UI at /swagger
when running the application in development mode.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'feat:Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details
For support and queries, please open an issue in the GitHub repository.