Home
Softono

Spring Boot Shop Sample

Open source MIT Java
118
Stars
46
Forks
6
Issues
6
Watchers
2 years
Last Commit

 About Spring Boot Shop Sample

My first web application using Spring Boot framework.

Platforms

Web Self-hosted

Languages

Java

Links

Need Help Installing Spring Boot Shop Sample?

We provide expert installation service for this software. Our team will install, configure, and secure Spring Boot Shop Sample on your server. plans start at just $30.

Spring Boot Shop Sample

View on GitHub

Spring Boot - Shop Sample

Build Status

Description

This is my first project using Spring. I wanted to do e-commerce web application to learn Spring. I have used Spring Boot, Spring Security, Spring Data JPA with H2 database, for views i have used Thymeleaf template and Bootstrap CSS framework.

Screenshots

Installation

You can clone this repository and use it localy:

$ git clone https://github.com/syqu22/spring-boot-shop-sample.git

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/shop-x.x.x.jar

Logins

Initially there are 2 users in memory:

Login: admin Password: admin with ADMIN role.

Login: user Password: user with USER role.

Roles

ADMIN can add, edit and delete products.

USER can add products to shopping cart and buy them.

Tests

You can run tests using:

$ mvn test

License

Project is based on MIT License. You can read about the license here.