Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

LiveTerm
### STS ###
.apt_generated
.classpath
Expand All @@ -18,7 +18,6 @@ target/
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
Expand Down
28 changes: 0 additions & 28 deletions Jenkinsfile123

This file was deleted.

1 change: 1 addition & 0 deletions LiveTerm
Submodule LiveTerm added at 1f2e54
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# BoardgameListingWebApp
# Boardgame Listing Web Application

## Description

**Board Game Database Full-Stack Web Application.**
This web application displays lists of board games and their reviews. While anyone can view the board game lists and reviews, they are required to log in to add/ edit the board games and their reviews. The 'users' have the authority to add board games to the list and add reviews, and the 'managers' have the authority to edit/ delete the reviews on top of the authorities of users.

## Technologies

- Java
- Spring Boot
- Amazon Web Services(AWS) EC2
Expand All @@ -20,15 +19,15 @@ This web application displays lists of board games and their reviews. While anyo
- H2 Database Engine (In-memory)
- JUnit test framework
- Spring Security
- Twitter Bootstrap
- Maven
- Bootstrap
- Apache Maven

## Features

- Full-Stack Application
- UI components created with Thymeleaf and styled with Twitter Bootstrap
- Authentication and authorization using Spring Security
- Authentication by allowing the users to authenticate with a username and password
- Authentication by allowing the users to authenticate with a valid username and password.
- Authorization by granting different permissions based on the roles (non-members, users, and managers)
- Different roles (non-members, users, and managers) with varying levels of permissions
- Non-members only can see the boardgame lists and reviews
Expand All @@ -39,15 +38,15 @@ This web application displays lists of board games and their reviews. While anyo
- Spring MVC best practices to segregate views, controllers, and database packages
- JDBC for database connectivity and interaction
- CRUD (Create, Read, Update, Delete) operations for managing data in the database
- Schema.sql file to customize the schema and input initial data
- a SQL file named "schema.sql" to customize the schema and input initial data
- Thymeleaf Fragments to reduce redundancy of repeating HTML elements (head, footer, navigation)

## How to Run

1. Clone the repository
2. Open the project in your IDE of choice
3. Run the application
4. To use initial user data, use the following credentials.
4. To use initial user data, please use the following credentials.
- username: bugs | password: bunny (user role)
- username: daffy | password: duck (manager role)
5. You can also sign-up as a new user and customize your role to play with the application! 😊
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<description>Project for Spring Boot</description>
<packaging>jar</packaging>
<properties>
<java.version>11</java.version>
<java.version>17</java.version>
<jacoco.version>0.8.7</jacoco.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
Expand Down Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<version>0.8.14</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package com.javaproject;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DatabaseServiceProjectApplication {
class DatabaseServiceProjectApplication {

public static void main(String[] args) {
SpringApplication.run(DatabaseServiceProjectApplication.class, args);
Expand Down