https://github.com/jcilacad/reservation-system
Mini project for an online reservation system for retail within a school / university
https://github.com/jcilacad/reservation-system
object-oriented-programming spring-aop spring-boot-3 spring-data-jpa spring-framework-6 spring-mvc-crud spring-security sql thymeleaf
Last synced: 2 months ago
JSON representation
Mini project for an online reservation system for retail within a school / university
- Host: GitHub
- URL: https://github.com/jcilacad/reservation-system
- Owner: jcilacad
- Created: 2023-10-30T10:30:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-16T09:26:17.000Z (about 1 year ago)
- Last Synced: 2025-01-22T03:12:30.040Z (4 months ago)
- Topics: object-oriented-programming, spring-aop, spring-boot-3, spring-data-jpa, spring-framework-6, spring-mvc-crud, spring-security, sql, thymeleaf
- Language: HTML
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reservation System
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
- Git
- MariaDB Server
- Maven
- Java### Installation
1. **Clone the project**
Use the following command to clone the project:
```
git clone [email protected]:jcilacad/reservation-system.git
```2. **Create a database**
Open your MariaDB server and create a new database named `reservation_system`:
```sql
CREATE DATABASE reservation_system;
```3. Update application.properties Navigate to the application.properties file in the project directory and update the username and password fields with your MariaDB server credentials:
```
spring.datasource.username=root
spring.datasource.password=password
```3. Update AdminSeeder class Navigate to the AdminSeeder class located at src/main/java/com/system/reservation/online/bootstrap/ and update the admin credentials as needed. (The name must have a middle name, follow the format in the code)
4. Start the application Use Maven to start the application:
```
mvn spring-boot:run
```## Demo
### Admin Side
1. Once you have logged in using the admin credentials, go to `/admin` to view the admin's dashboard.
2. In the accounts tab, you can add, query, update, and delete students.
3. In the items tab, you can add, query, update, and delete items.
4. In the transactions tab, you can query, view, approve, cancel, and delete transactions.
- Remarks:
- Pending: The student has placed the reserve item(s).
- Approved: The admin has approved the reserved item(s).
- Completed: The item has already been given to the student by the admin.
- Cancelled: The item has been cancelled by the admin/student.
- Overdue: The item is overdue based on the date inputted by the student.
5. You can generate bulk reports by remarks or generate reports individually by student email.### Student Side
Note: The default password for the student is their student number. You can change the password in the 'Change Password' module in the app.
1. Once logged in, the student will be redirected to the dashboard.
2. In the items tab, you can query, view, and reserve items.
3. You can view, query, generate, and cancel reserved items.## Screenshots
### Login Module
### Change Password Module
### Admin
#### Dashboard
#### Accounts Tab
#### Accounts Tab (Add Student)
#### Accounts Tab (View)
#### Accounts Tab (Update)
#### Items Tab
#### Items Tab (Add)
#### Items Tab (Update)
#### Transactions Tab
#### Transactions Tab (View)
#### Report Tab
### Student
#### Dashboard
#### Items Tab
#### Items Tab (View)
#### Transactions Tab
#### Transactions Tab (View)
#### Transactions Tab (Report Generation based on status)
