asimkilic / first-homework-asimkilic-1

first-homework-asimkilic-1 created by GitHub Classroom

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

n11 TalentHub Java Bootcamp First Homework

Dump Data

In Resources folders, there is hw1_database_with_data.sql file, it has Sql script with all dump data.

If you want to add only Category or Comment or Product, you will have in Resource folders also.

Functions

  • Listing reviews of products
  • List users
  • Listing categories
  • List products
  • Listing user-based comments

Used technologies

  • Java
  • Hibernate
  • PostgreSQL

Project Tree

Project Tree
│   homework.iml
│   pom.xml
│
├───src
│   ├───main
│   │   ├───java
│   │   │   │   Application.java
│   │   │   │
│   │   │   ├───applications
│   │   │   │       FindAllProductAndCommentApp.java
│   │   │   │       FindProductCommentApp.java
│   │   │   │       FindUserCommentListApp.java
│   │   │   │
│   │   │   ├───base
│   │   │   │       BaseDao.java
│   │   │   │
│   │   │   ├───dao
│   │   │   │       CategoryDao.java
│   │   │   │       ProductCommentDao.java
│   │   │   │       ProductDao.java
│   │   │   │       UserDao.java
│   │   │   │
│   │   │   ├───dto
│   │   │   │   ├───product
│   │   │   │   │       ProductWithCommentDto.java
│   │   │   │   │
│   │   │   │   ├───product_comment
│   │   │   │   │       ProductWithCountOfCommentDto.java
│   │   │   │   │       UserAndProductCommentDetailsDto.java
│   │   │   │   │
│   │   │   │   └───user
│   │   │   │           UserWithCommentListDto.java
│   │   │   │
│   │   │   ├───entity
│   │   │   │       Category.java
│   │   │   │       Product.java
│   │   │   │       ProductComment.java
│   │   │   │       User.java
│   │   │   │
│   │   │   ├───entityservice
│   │   │   │       CategoryEntityService.java
│   │   │   │      ProductCommentEntityService.java
│   │   │   │       ProductEntityService.java
│   │   │   │       UserEntityService.java
│   │   │   │
│   │   │   └───hibernate
│   │   │           HibernateUtil.java
│   │   │
│   │   └───resources
│   │           category_inserts.sql
│   │           comment_inserts.sql
│   │           hibernate.cfg.xml
│   │           product_inserts.sql
│   │           user_inserts.sql
│   │           hw1_database_with_data.sql
│   │
│   └───test
│       └───java
└───target

Resources

About

first-homework-asimkilic-1 created by GitHub Classroom

License:MIT License


Languages

Language:Java 100.0%