Skip to content

ASP.NET Core Razor Pages ticket booking web app

License

Notifications You must be signed in to change notification settings

cuqmbr/auto.bus_razor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto.bus – Ticket Office web application

Features

  • Search for routes by departure/arrival city and date
  • Filter routes by number, duration and date
  • Print ticket in pdf format
  • Buy tickets
  • Manage routes (create, read, update and delete) on admin account

How to install?

Linux

  1. Download and install .NET with ASP.NET Core
  2. Clone this project
  3. Install Entity Framework Core .NET Command-line Tools [~]$ dotnet tool install --global dotnet-ef
  4. Run run.sh file in terminal [~]$ sh run.sh

NOTE: use [~]$ sh run.sh --help to see available options

How to tweak this project for your own uses?

  • You can tweak ~/TicketOffice/Models/SeedData.cs to fill up empty sqlite3 database with your data
  • You can comment lines 28, 29 and 30 in ~/TicketOffice/Program.cs to disable data seeding

How to contribute?

If you want to add a feature, you should follow these steps:

  1. Fork the project
  2. Make some changes and commit them with conventional commit message
  3. Submit a PR with a new feature/code

Find a bug?

If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab above. If you would like to submit a PR with a fix, reference the issue you created!

Known issues (Work in progress)

  • The route management page will not load if database contains a route with an empty departure/arrival city date

Development status

Released – Project is complete, but might receive some updates