-
Go to the backend (cd backend directory and run the following command):
On windows:
mvn.cmd spring-boot:run
On Unix-based systems:
./mvnw spring-boot:run
-
Go to the backend directory and run the following command:
docker exec -i backend-mysql-1 mysql -u root --password=verysecret < deploy.sql
-
Go back to the root directory
-
Go to the oop-project (cd oop-project directory and run the following command):
npm install npm run serve
-
Copy any of the URL in the Frontend 'terminal' and launch it at the browser of your choice:
-
Localhost: http://localhost:8082/
-
-
The homepage of the application will be loaded as follows:
-
Fill up the registration details with a valid email address. This will ensure that email notifications can be sent to the account with the registered email address.
-
Registered account will be automatically be assigned the 'Customer' role.
-
From the Login Page, click on 'Register'
-
Fill in the registration details, with a valid email and click 'Register'
-
Here are some user mock up data that contains 3 Accounts from the different roles (Customer, Event Manager, Ticketing Officer).
User_ID Name Email Password Roles 1 John Doe [email protected] password Customer 2 Jane Doe [email protected] password Event Manager 3 JaneJohn Doe [email protected] password Tickering Officer
-
At the login page, key in the account credentials (e.g., email and password) to visit the different pages, based on the user role
-
At the homepage, click on the 'Login/Signup'
-
You will arrive at the login page. Key in the credentials depending on the user type of your choice.
For services with complex logic computation, we have documented the code with comments, providing specific details that help explain the inner workings of the code in depth.
This section will show how information is stored in the database by interacting with the Docker MySQL interface to obtain details about the tables and to query data through SQL commands.
-
In Docker, click on the '>' icon beside the 'backend' container
-
In the expanded collapse view, click on 'mysql-1'
-
Navigate to the 'exec' tab
-
Run the following commands to log in to the database
mysql -u myuser -p password: secret
-
To access the database and view the tables available, run the following commands:
use mydatabase; show tables;
-
To view the schema of a table, run the following command (Replace 'User' with any table of your choice)
describe user;
-
To query rows from a table, run the following command (Replace 'User' with any table of your choice)
select * from user;
- Java
- Spring MVC (for creating RESTful APIs)
- Spring Data JPA
- Spring Security (For JWT Authentication)
- Apache POI (for writing Excel files)
- iText (for generating PDFs)
- Lombok (for generating getters, setters, constructors, etc.)
- Maven (for dependency management)
- MySQL (for the database)
- Docker
- Docker Compose
- Vue.js
- Vuetify
- Vue Router
- Sean Lim
- Low Jun Jie Eugene
- Bryan Low Chee Theng
- Nicholas Arvin Singham
- Chua Wei Ling Jacqueline
- Luqman Juzaili Bin Muhammad Najib