kozhukhovsky / jv-internet-shop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InternetShop

List of content

Description

Hello, anyone! This is my realization of internet shop, the purpose of that project was to create a simple web application focusing on back-end in Java, using and improving knowledge in different technologies of web-development.


Talking about structure, project implements MVC pattern and have 3-Tier architecture:

  1. Data Tier - MySQL DB and DAO's;
  2. Application Tier - business logic in Java services;
  3. Presentation Tier - Servlet Controllers, JSP pages and Bulma CSS for simple UI.

Stack of technologies

  • Java 11
  • Servlet 3.1
  • MySQL 8.0
  • Hibernate 5.4.5
  • Maven 4.0
  • Tomcat 9.0.24
  • Log4j 1.2.17
  • Bulma CSS

Installing

  1. Download project from this repository and add to IDE as Maven project;
  2. Add project to your IDE as Maven project;
  3. Install and configure Tomcat;
  4. Install and configure MySQL;
  5. Check same properties in hibernate.cfg.xml;
  6. Run init_db.sql in database;
  7. Make sure all dependencies from pom.xml are loaded;
  8. [Optional] If you want to see logs - set log file in log4j.properties;
  9. Finally run it!

Getting started

First of all, you have to login. By default, you already have users (login: admin, pass: 123) with administrative rights, and (login: user, pass: 123). Otherwise you can always create a new user via registration form.


Now you can freely go shopping!

Authors

Anton Kozhukhovsky

About


Languages

Language:Java 100.0%