Welcome to the Leonardos Project, a web application for online reservations created specifically for Saint Louis University (SLU). This application hosts products for reservation by various SLU organizations allowing users to quickly book products and lower booth traffic during events.
Before setting up the application, the following tools should be installed on your system:
- Docker
- MySQL Workbench
The following steps will guide you through running the web application.
Clone the project repository from the GitHub link:
# Clone the repository using the following command:
git clone https://github.com/Stephen-Coloma/CS312-MidtermProject-Leonardos
Navigate to the base folder of the repository and build the Docker images using the compose.yaml file:
# Ensure you are in the ./CS312-MidtermProject-Leonardos directory.
docker compose build
After building the images, create and run the containers using the command below:
docker compose up
Since the Docker containers start with an empty database, import the necessary data into the database:
- Open
MySQL Workbenchand create a new connection (no password required).
- Access the connection and import the MySQL file located at
./reservationDB.sql. - Use the database name
reservationDBduring the import.
To access the vendor side of the application:
- If the containers are running on the same machine, open the following URL in your browser:
http://localhost:80
- If the containers are running on another machine, use the server's IP address (ensure your device is connected to the same network):
http://192.168.xxx.xxx:80
To access the customer side of the application:
- If the containers are running on the same machine, open the following URL in your browser:
http://localhost:3000
- If the container are running on another machine, use the server's IP address (ensure your device is connected to the same network):
http://192.168.xxx.xxx:3000
This project is a collaborate effort by the following contributors:
- COLOMA, Stephen M.
- GUZMAN, Sanchie Earl M.
- LEUNG, Leonhard T.
- NONATO, Marius Glenn M.
- RAGUDOS, Hannah T.
- RAMOS, Jerwin Kyle R.