This application is build and done testing with Pipeline;
Guestbook application consists of two types of users.
- Guests
- Administrator
- User needs to login in order to write a new entry in the guestbook
- Guestbook entry can be either a single image or a text
- View all the entries posted by all the users
- Approve the entries
- Edit the entries
- Remove the entries
The following items should be installed in your system:
- Tool - Spring Tool Suite/Eclipse
- MySQL Workbench
- Git
- Java 11
- Maven
- Java 11
- Spring boot
- JSP, HTML, CSS
- Bootstrap, JQuery, JS
- MySQL
- Download this Project from Git.
git clone https://github.com/Sudarshan-Gowda/Guestbook.git
- To Import the Project Using Eclipse or STS
File -> Import -> Maven -> Existing Maven project -> spring-boot-admin
Guest Book | Class or Java property files |
---|---|
Configuration File | application.properties |
Scripts - Create File | database.sql |
Scripts - Insert File | scripts.sql |
SpringSecurityConfig File | SpringSecurityConfig.java |
step 1
: Download this repository & do maven import.
step 2
: Create schema with name guestbook
and execute data base scripts to create table structures from database.sql and import the default data from file scripts.sql
step 3
: Go to the main class file and run as Java application.
or execute the commands mvn spring-boot:run
to run locally
step 4
: Once the application starts, By default application will be deployed in 8080 port, and you can access it by using http://localhost:8080/
To build the application using maven, use the command mvn clean install
, this will create production ready jar file under target folder to deploy to any server.
Navigate to the URL http://localhost:8080/ and use the below credentails to login and manage the application <br>
-- To login as ADMIN Role -- UN/PW -- `admin/P@ssword123`. <br>
-- To login as USER Role -- UN/PW -- `user/P@ssword123` or `user2/P@ssword123` <br>
- Login Page for Guest User/Admin
- Registration Page for Guest User
- Login as Guest User and create new book entry
- Login as Admin User and can view all the records
- Update/View the record for Admin User
- Admin User can do Approve/Update/View/Delete for newly added record by Guest User
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests.