Giter VIP home page Giter VIP logo

spring-boot-shop-sample's Introduction

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.

spring-boot-shop-sample's People

Contributors

syqu22 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.