/RealestateProject

HepsiEmlak Java Spring Boot bootcamp project.

Primary LanguageJavaMIT LicenseMIT

HepsiEmlak-FinalProject

This project is for who is looking for real estates and who is looking for to sell/rent real estates.

Used Technologies

Backend: Java 11, Spring Boot, Maven, Hibernate, JUnit5

Database: MySQL

Screen Shots

Users

Save User

User advert number is 0 at first!

Get User By ID

Get User's Product by User Id

Get All Users

Auth

Products

Save Product

normally only authorized users can perform it.

Get All Products

Get Product By Name

User Product Detail

Save Product To User

After product added to User

User's advert number updated.

User's Product Detail

User bought the product once. If user buy the product again, "end date" will be upadated remain time plus 30 days. Purchase date will be updated also.

And User's advert rights will be updated remain rights plus 10 rights.

Payment

Also payment done at the same time when product added to user.

Adverts

Add Advert

Only authenticated users can perform it.

Get Advert By Advert No

Get All Adverts

Update Advert By Id

Delete Advert By Id

Get Active Adverts By User Id

If User's Advert Right Is 0

If User try to add an advert when User's advert rights are over.

Installing & Running

Clone this repo into your local:

  git clone https://github.com/alperenmutlu/HepsiEmlak-FinalProject.git

Build using maven

  mvn clean install

Start the app

  mvn spring-boot:run

Diagram

EmlakBurada-master Database Diagram

EmlakBurada-payment Database Diagram