This project contains an API for managing a PostgreSQL database, a web interface for seeing available flights and their prices, and a desktop application that provides a graphical interface for managing the database trough the API.
The API is made using APS.NET Core and it's Minimal APIs approach.
List of available endpoints.
The desktop application's purpose is to make adding, updating and removing entries from the database a simple task.
It is made using the Windows Presentation Foundation framework and is only available for windows machines.
Check the user manual for help.
The database, API and web server can be run using docker compose and the compose.yml compose file.
Run docker compose up command to launch the containers.
It can also be done by running the run.sh shell script.
Local ports used by the services:
- 5432 - PostgreSQL database
- 5000 - Database API
- 8080 - Web server
The tests can be run using docker compose and the appropriate compose file. Hoverver it is advised to use the shell scripts instead.
| Test | Compose File | Shell Script | Latest Results |
|---|---|---|---|
| API tests | compose.test-api.yml | test-api.sh | view |
| Selenium tests | compose.test-web.yml | test-web.sh | view |