ASP.NET Core Razor Pages ticket booking web app
Go to file
2024-04-01 18:31:11 +00:00
.github/workflows add github action to mirror repository to Gitea 2023-08-26 09:32:05 +00:00
TicketOffice style: change ICollection to List in some Models 2022-06-19 19:17:00 +03:00
.gitignore Initial commit 2022-03-24 07:39:58 +02:00
LICENSE docs: update LICENSE 2022-12-25 10:46:18 +02:00
README.md Update README.md 2024-04-01 18:31:11 +00:00
run.sh docs: update README.md; add run script 2022-06-19 20:04:41 +03:00
Ticket Office.sln chore: remove whitespace from project name 2022-03-26 22:24:10 +02:00

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