Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

123 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Internet Shop

Header Image

Table of Contents

Project purpose

Project structure

For developer

Author

Project purpose

This project is a simple version of internet shop.


This shop has basic functions for online store such as:

  • Registration and log in forms
  • Shopping cart and order services
  • Two roles: User and Admin

This project has authentication and authorization filters, DAO and Service layers, Servlets and JSP pages.

DAO layer based on MySQL DB.

Project structure

  • Java
  • Maven
  • MavenCheckstylePlugin
  • javax.servlet
  • javax.jstl
  • mysql-connector-java
  • log4j

For developer

To run this project you need to install:


Add this project to your IDE as Maven project.

Add Java SDK 11 in project structure.

Configure Tomcat:

  • Add artifact
  • Add Java SDK 11

Change a path to your Log file in src/main/resources/log4j.properties on line 12.


To work with MySQL you need to:

  • Use file src/main/resources/init_db.sql to create schema and all the tables required by this app in MySQL DB
  • Change username and password to match with MySQL in src/main/java/dev/internetshop/util/ConnectionUtil.java class on 19 line

Run the project:

Main page is at URL: .../{context_path}/index

Author

Maksym Matuliak

About

My internet-shop

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages