A robust platform for event ticket management with secure authentication, user management, and seamless event operations.
Swagger UI: http://localhost:5043/swagger/index.html
1. Access Swagger UI
Link: http://localhost:5043/swagger/index.html
2. Log in to obtain a token
Login interface. Enter username and password → receive JWT token.

3. Enter the token in Swagger
Click “Authorize” → enter
Bearer <token>→ confirm.

4. Use the APIs
You can now call protected endpoints.
Technology Stack
TicketHive/
├── src/
│ ├── TicketHive.Api/ # Web API layer
│ ├── TicketHive.Application/ # Business logic
│ ├── TicketHive.Domain/ # Domain entities
│ └── TicketHive.Infrastructure/ # Data access
├── tests/
│ └── TicketHive.Tests/ # Unit & integration tests
├── docs/ # API documentation
└── docker-compose.yml # Docker configuration
git clone https://github.com/hnagnurtme/TicketHive.git
cd TicketHive
dotnet restore
Configure database
Update src/TicketHive.Api/appsettings.json:
{
"ConnectionStrings": {
"DefaultConnection": "your-connection-string"
}
}
dotnet ef database update --project src/TicketHive.Infrastructure
dotnet run --project src/TicketHive.Api
The API will be available at:
https://localhost:7043http://localhost:5043docker-compose up -d
All protected endpoints require a Bearer token:
Authorization: Bearer <your-jwt-token>
Example Request:
curl -X GET "https://localhost:7043/api/events" \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."
Run all tests:
dotnet test
Generate coverage report:
./Test.sh
Contributions are welcome! Please follow these steps:
git checkout -b feature/amazing-featuregit commit -m 'Add amazing feature'git push origin feature/amazing-featureSee CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.