Booking & Event Management API built with Clean Architecture in ASP.NET Core
TicketHive is a robust event ticketing API built with ASP.NET Core (Clean Architecture).
It provides secure authentication, ticket management, VNPay integration, and modular microservices-ready architecture.
Designed for scalability, reliability, and developer-friendly integrations.
Resource | URL | Description |
---|---|---|
🏠 Main Docs | GitHub Pages | Complete API overview |
🧪 Swagger UI | Swagger UI | Interactive testing interface |
📄 OpenAPI Spec | swagger.json | Raw OpenAPI file |
💡 Demo Page | Demo | Example endpoints |
TicketHive/
├── src/
│ ├── TicketHive.Api/ # API Layer (Controllers, Middleware)
│ ├── TicketHive.Application/ # Core Business Logic
│ ├── TicketHive.Domain/ # Entities, Enums, and Rules
│ └── TicketHive.Infrastructure/ # Database, Repositories, Integrations
│
├── tests/
│ └── TicketHive.Tests/ # Unit and Integration Tests
│
├── docs/
│ ├── swagger.json # OpenAPI Specification
│ └── swagger-ui/ # Swagger UI Static Files
│
└── docker-compose.yml # Docker Setup
git clone https://github.com/hnagnurtme/TicketHive.git
cd TicketHive
dotnet restore
Update database connection string
Edit src/TicketHive.Api/appsettings.json
with your database connection string.
dotnet ef database update --project src/TicketHive.Infrastructure
dotnet run --project src/TicketHive.Api
docker-compose up -d
The API will be available at https://localhost:7043
or http://localhost:5043
.
Run the test suite:
dotnet test
Generate test coverage report:
./Test.sh
All protected endpoints require a Bearer token in the Authorization header:
Authorization: Bearer <your-jwt-token>
We welcome contributions! Please see our Contributing Guidelines for details.
git checkout -b feature/amazing-feature
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature
This project is licensed under the MIT License - see the LICENSE file for details.