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.
- Project API (javadoc) is located in the doc folder.
- Project SQL tables is located in the java/resources/db folder.
- User Name: 'admin', password: 'admin'
- User Name: 'user1', password: 'user'
- User Name: 'user2', password: 'user'
- User Name: 'user3', password: 'user'
The site use bootstrap CDN therefore assumes an internet connection is available.
- Use the sql files we provide in the java/resources/db folder or prepare a sql database.
- Execute the program from the intellij
- The port site is 8080 and the port of the database is 3306, you change if you wish to use other ports
- Store url: http://localhost:8080/ and admin url: http://localhost:8080/admin
- user
- role
- product
- orders
-
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
-
During shopping you can buy several of the same product
-
On the admin side you can scroll through the list of books