Giter VIP home page Giter VIP logo

store-book-spring's Introduction

Store Book - Study assignment at Hadassah College

A book store web application. In the store the user able to browse different books, add them to shopping cart and buy them. In addition, is the admin panel, were the admin can manipulate the book repository and view the purchase history.

Authors

  1. David Maman
  2. Yinon Tzomi

Documentation

  1. Project API (javadoc) is located in the doc folder.
  2. Project SQL tables is located in the java/resources/db folder.

Users and passwords

  1. User Name: 'admin', password: 'admin'
  2. User Name: 'user1', password: 'user'
  3. User Name: 'user2', password: 'user'
  4. User Name: 'user3', password: 'user'

Assumptions

The site use bootstrap CDN therefore assumes an internet connection is available.

Execute

  1. Use the sql files we provide in the java/resources/db folder or prepare a sql database.
  2. Execute the program from the intellij
  3. The port site is 8080 and the port of the database is 3306, you change if you wish to use other ports
  4. Store url: http://localhost:8080/ and admin url: http://localhost:8080/admin

Database Tables

  1. user
  2. role
  3. product
  4. orders

Others

  1. To add a new user you must first run the code in the util folder to get an encrypted password. Then specify which permissions the user has in the role table in the database

  2. During shopping you can buy several of the same product

  3. On the admin side you can scroll through the list of books

Screenshots

admin home admin list orders
admin add book user shopping cart
user login cart user invoice

store-book-spring's People

Contributors

dmaman86 avatar

Watchers

 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.