simonpirko / onliner-spring-c51

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Name

Onliner clone

Description

Web application that allows the user to buy online goods from various sellers. It copies the functionality of this site.

Dependencies

  • Spring WebMVC
  • Spring ORM
  • Java Servlet API
  • MySQL Connector
  • Hibernate ORM Hibernate Core
  • Tomcat DBCP
  • Thymeleaf
  • Hibernate Validator Engine
  • slf4j + log4j
  • JUnit 5
  • Mockito JUnit Jupiter
  • Hamcrest
  • String Test

Features

  • Seller and user registration
  • User authentication and authorization
  • Assigning a role to a user
  • Product creation
  • Viewing the product catalog
  • Viewing product details

Installation

Requirements

  • JDK 11
  • Maven
  • MySQL 5+
  • Apache Tomcat 9

Specific steps

Clone the repository

git clone https://github.com/simonpirko/onliner-spring-c51.git

Download Apache Tomcat from site and set up application server.

Create a database and set up datasourse in datasourse.properties.

datasource.url=jdbc:mysql://<host:port>/<database-name>
datasource.username=<username>
datasource.password=<password>

Change the path to the log file in log4j.properties.

log4j.appender.USER-SERVICE.File=<path-to-log-file>

Project status

Active

About


Languages

Language:Java 88.6%Language:HTML 11.4%