ASP.NET Core Razor Pages ticket booking web app
.github/workflows | ||
TicketOffice | ||
.gitignore | ||
LICENSE | ||
README.md | ||
run.sh | ||
Ticket Office.sln |
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
- Download and install .NET with ASP.NET Core
- Clone this project
- Install Entity Framework Core .NET Command-line Tools
[~]$ dotnet tool install --global dotnet-ef
- 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:
- Fork the project
- Make some changes and commit them with conventional commit message
- 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