Skip to content

SyedT1/bticketsys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bticketsys# Bus Ticket Reservation System- Project README

This repository contains a starter full-stack implementation for the "Bus Ticket Reservation System" assignment (Backend: .NET 9 + EF Core + PostgreSQL; Frontend: Angular).

The project includes:

  • src/Domain: Domain entities and domain services
  • src/Application: Application services (Search, Booking)
  • src/Application.Contracts: DTOs and repository interfaces
  • src/Infrastructure: EF Core DbContext and repository implementations
  • src/WebApi: ASP.NET Core Web API
  • tests: xUnit tests for application logic
  • migrations: SQL scripts for creating DB schema

To run the backend locally (uses in-memory DB by default):

  1. dotnet run --project src/WebApi
  2. Browse to https://localhost:5001/swagger to see API endpoints (development)

To run tests:

  1. dotnet test

To configure PostgreSQL, set DefaultConnection in environment or appsettings.json and apply migrations/init.sql or create EF migrations from the Infrastructure project.

This is a baseline for the assignment — continue implementing the Angular client in src/ClientApp and polish UI/UX according to the provided screenshots.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published