/Java-Spring-WebStrore

Web Store example build with Spring framework.

Primary LanguageJava

WebStore

Working Web Store example build with:

  • Spring Framework
  • Hibernate
  • Oracle Database
  • Maven
  • Spring Security

Install

$ mvn clean install 

Database Fill

Export SQL from /help/export.sql to your Oracle Database.

Run

Run with Tomacat Server.

ER Diagram

alt tag

Restrictions and Flow

User restrictions:

  • Read, search, create and edit only his/her orders.
  • Read, search, create and deactivate all customers.
  • Read and search all products.
  • User cannot see or get any action on other users.

Admin restrictions:

  • Read, search, create and edit only all orders.
  • Read, search, create and deactivate all customers.
  • Read and search all products.
  • See all actions from all users and admins.

Flow:

  • User must login with given of admin credentials.
  • After successful login User is redirected to orders page.
  • Every User (user, admin) can edit his/her own credentials.