RestaurantOrderingSystem is our Software Architecture and Design I (SOEN 343 - Team Skyway) project for the semester.
For building and running the application you need:
-
- A great video is available which shows you how to install MySQL as well as MySQL Workbench (optional GUI)
-
Eclipse (or any IDE)
- Clone the repository:
git clone https://github.com/trevornag/RestaurantOrderingSystem.git
-
Import the project in your preferred IDE.
-
It's important to update the project through Maven. In Eclipse, this can be done by holding
ALT+F5
or Right click on the project, select Maven then Update Project. -
Run the script restaurantorderingsystem_db.sql in MySQL Workbench. This file can be found in the
resources
folder of the project. -
Also in the
resources
folder, you will find a file calledapplication.properties
. Input your local database credentials in this file like this:
spring.datasource.url=jdbc:mysql://localhost:3306/restaurantorderingsystem_db
spring.datasource.username=root
spring.datasource.password=YOUR_PASSWORD
-
One way to run a Restaurant Ordering System application (a Spring Boot application) on your local machine is to execute the
main
method in theapi.RestaurantOrderingSystemApi
class from your IDE. -
Open a web browser and head over to http://localhost:8080 to access the application.
Through Microsoft Azure services as well as a virtual machine running Ubuntu 18 LTS, anyone connected to the internet can also access the application by visiting http://13.68.235.113:8080