Internet-shop with basic operations.
In this project used N-tier architecture with DB layer, DAO layer, Service layer, Controllers layer and View layer.
Project was developed according to SOLID principles with authorization and authentication by RBAC filter strategy.
One user can have multiple roles.
- Registration
- Authorization
- View products
- View products
- Add / remove products to / from shopping cart
- Make an order
- Logout
- View / delete users
- View / add / remove products
- View / delete user orders.
- Logout
Backend: Java, Servlets, Tomcat, JDBC, Log4j
Frontend: HTML, CSS, Bootstrap, JSP, JSTL
Database: MySQL
- Download, install and configure JDK https://www.oracle.com/java/technologies/javase-downloads.html
- Download and install IDEA Ultimate Edition
- Download, install and configure Tomcat https://tomcat.apache.org/download-90.cgi
- Configure Tomcat in IDEA
- Application server > add
- Deployment > add war_exploded
- Deployment > Application context: \
- Configure Tomcat in IDEA
- Download, install and configure MySQL WorkBench https://dev.mysql.com/downloads/installer/
- Setup new connection with
- Username: root
- Password: 1234
- Port: 3306
- Hostname: 127.0.0.1
- Create schema internet_shop
- Create tables using command from init_db.sql file
- Setup new connection with