Skip to content

My graduation project - Online store using Spring Boot

Notifications You must be signed in to change notification settings

Vitaly2022/shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

As part of my graduation project, I implemented an online-store using Spring. In the project I used Spring Boot, Spring Security 5, Spring Data JPA with MySql database, for views I used Thymeleaf template and Bootstrap CSS framework. Tests are made on JUnit 5 with test H2 database. For accelerated development, I used Spring BootDevTools.

Screenshots

Installation

You can clone this repository and use it localy:

$ git clone https://github.com/Vitaly2022/shop

Using Maven plugin

First you should do clean installation:

$ mvn clean install

You can start application using Spring Boot custom command:

$ mvn spring-boot:run

Using Maven plugin and running JAR

You can create JAR file using:

$ mvn clean package

and then run it with:

$ java -jar target/*jar

Logins

ADMIN role is assigned by MySql query.

The USER role is given to all registered.

Roles

ADMIN In personal account, can add, edit and delete site content (product, category, manufacturer, order, review, supplier, user).

USER can add, edit and delete products in cart. Send cart to order. In personal account see your orders and their status. Edit profile.

Tests

You can run tests using:

$ mvn test