An Auction website. Users can Put up items for sale, bid on currently active auctions and write reviews for items that they have won in the auctions.

Overview

Auction-Project

An Auction website. Users can Put up items for sale, bid on currently active auctions and write reviews for items that they have won in the auctions.

Requirements

  • Tomcat 10.0.10
  • Maven 3.8.2
  • JDK 16
  • Running MySql server

How to run

  • Create a MySQL database
  • create src/main/java/resources/dbconfig.properties
  • in it write db.url, db.username, db.password:
db.url = jdbc:mysql://localhost:3306/oop_project
db.username = username
db.password = password
  • run the CreateTables.sql to setup the database
  • from maven do : "mvn tomcat7:run" (make sure port 8080 is empty, a small guide for freeing 8080 is in /Auction)
  • website can be entered on http://localhost:8080/
  • after creating first account, give it admin by the following command:
UPDATE users SET is_admin = true WHERE ID = 1;

Usage

There are 3 types of users: admins, dealers and customers.

  • Admins can appoint dealers and other admins. Admins can also ban other users.
  • Dealers can start auctions. Dealers can also see reviews of their products.
  • Everyone can write a review on an auction they have won.
  • Everyone can bid on active auctions.
  • Everyone can see what auctions they have put their bids on and if they are winning them or not.
  • Everyone can see what auctions they have won.
  • There is a Leaderboard of users who have the most auction wins.

Auction

Auction is described with the following traits:

  • Item code
  • Item name
  • End date
  • Starting Price
  • Minimum increment
  • Item description

An auction is active if the current date is before the end date.

Some Safety precautions

  • Password is hashed with SHA 256.
  • App remembers the session so just entering a url won't redirect.
  • Protected from SQL injections
  • dbconfig.properties is hidden with gitignore
You might also like...

An 24x7 active repo for your contribution feel free to contribute:)

An 24x7 active repo for your contribution feel free to contribute:)

Hacktoberfest2021 Hacktoberfest is a month-long celebration of open source software sponsored by Digital Ocean, Intel, and DEV. Do push your code in a

Sep 14, 2022

Rails like error pages for Spring Boot applications that are only active in development.

Rails like error pages for Spring Boot applications that are only active in development.

Better Error Pages Table of Contents Introduction Demo Quick Start Configuration Limitations License Introduction This is a Spring Boot Starter projec

Jan 2, 2022

Bank Statement Analyzer Application that currently runs in terminal with the commands: javac Application.java java Application [file-name].csv GUI coming soon...

Bank Statement Analyzer Application that currently runs in terminal with the commands: javac Application.java java Application [file-name].csv GUI coming soon...

May 21, 2022

An Android library for managing images and the memory they use.

An Android library for managing images and the memory they use.

Fresco Fresco is a powerful system for displaying images in Android applications. Fresco takes care of image loading and display, so you don't have to

Jan 3, 2023

When it is snowing leaves will slowly turn white, and when it is not they will turn back to normal

SnowyLeavesPlus In Bedrock Edition, leaves turn white when it is snowing. SnowyLeavesPlus brings this feature to Java Edition! When it is snowing leav

Nov 26, 2022

Excel utility for Java to read and write data in declarative way.

Excel utility for Java to read and write data in declarative way.

Data Excel Exporter A Java wrapper using Apache POI to read and write Excel file in declarative fashion. Installation ExcelUtil is using Apache POI ve

Oct 16, 2022

Library that makes it possible to read, edit and write CSV files

Library that makes it possible to read, edit and write CSV files

AdaptiveTableLayout Welcome the new CSV Library AdaptiveTableLayout for Android by Cleveroad Pay your attention to our new library that makes it possi

Jan 6, 2023

A small companion library to Mixin, designed to help you write your Mixins in a more expressive and compatible way.

MixinExtras A small companion library to Mixin, designed to help you write your Mixins in a more expressive and compatible way. More information about

Jan 7, 2023

By this package we can get sim info, call logs and sms logs.Also we can find for specific sim info and call logs as well.

sim_sms_call_info A new flutter plugin project. Getting Started This project is a starting point for a Flutter plug-in package, a specialized package

Sep 17, 2022
Owner
Nika Salia
Nika Salia
Discourse-java is a platform where users can freely discuss on topics they want to, and like-minded people can join in and contribute

Discourse is the 100% open source discussion platform built for the next decade of the Internet. Use it as a: mailing list discussion forum long-form

Infosys Ltd 16 Oct 19, 2022
e-Shop is an e-commerce website where you can shop for items online.

e-Shop Website e-Shop is an e-commerce website where you can shop for items online. It's a Maven-based project. This e-Shop website is created by Vale

Valentine Fernandes 30 Dec 8, 2022
Drifty is an open-source interactive File Downloader system built with java. It is currently available in CLI mode and has the GUI version under active development.

Drifty Drifty is an open-source interactive File Downloader system built using Java. It takes the link to the file, the directory where it needs to be

Saptarshi Sarkar 60 Dec 24, 2022
Tuya 37 Dec 26, 2022
Reads data from sentences from hundreds of movie reviews, and evaluates the sentiment level of sentences entered by the user.

Sentiment_Analyzer Reads data from sentences from hundreds of movie reviews included in reviews.txt. Assigns a value to each word depending on the rev

Jacob McIntosh 0 Jun 13, 2022
Flash Sale System AKA. seckill system

FlashSaleSystem Project highlights Distributed system scheme From a single machine to a cluster, it is easy to scale horizontally simply by adding ser

wsbleek 12 Sep 13, 2022
FactionRanking is a plugin that allows server administrators to put factions in competition in different rankings

Description FactionRanking is a plugin that allows server administrators to put factions in competition in different rankings (working for 1.7 and hig

nz 8 Dec 22, 2022
Simple Minecraft mod that makes it easy to put horses in boats.

HorseInBoat What does this mod do? This mod makes it much easier to put horses into boats. This mod also changes the hitbox of horses in boats, this i

null 8 Dec 20, 2022
Tracks information (skills, inventory, bank, etc.) about a group ironman player and sends it to a website for other group members to view

Group Ironmen Tracker Plugin Website: groupiron.men Source for frontend and server: https://github.com/christoabrown/group-ironmen This plugin tracks

Christopher Brown 7 Nov 11, 2022
Users can create and sign up for giveaways which, upon expiring, will select a random winner from the pool of entries

PROJECT NAME Readaway Project Description Users can create and sign up for giveaways which, upon expiring, will select a random winner from the pool o

null 2 Apr 4, 2022