Skip to content

Troha7/Product-Shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedIn

Product Shop App with PostgreSQL, Spring Web and Spring Security

This project is a simple product shop application with: Spring Boot, Spring Web, Spring Security, PostgreSQL, JPA (Hibernate), Flyway, and Thymleaf.

Project structure

Folder Description
deploy Contains the docker-compose.yml used to setup the application
src/main/java/com/productShop Spring boot application ProductShopApp.java

How to build and run

In order to build the application you need to have the following software products installed:

  • JDK >= 17
  • docker & docker compose

Exploring the Product Shop App

The server will start at http://localhost:8080.

Home page : http://localhost:8080/home
home

Login page : http://localhost:8080/login?logout

Role Admin:
User Name: admin
Password: admin

Role User:
User Name: user
Password: user

login

Product service page : http://localhost:8080/products
ProductService

If you click on the link http://localhost:8080/products without being authorized as an admin :
Err403

Add product page : http://localhost:8080/products/add
Add product

Find product by id :
Search

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published