The main goal of this project is to design an online shop providing e-commerce services, some real-world examples are Amazon and Alibaba.
Scince the project contain FXML files, you need to download the appropriate JDK (which is JDK 8 in this project) to run the code.
- appropriate JDK (JDK 8 is used, so JavaFX could be run with the code)
- NetBeans (I used version 8 to build this project)
- SQLite
- Git as version control system
- Customer
In short, a customer can search for a product name (e.g. iphone 14) or a seller name (e.g. Apple) or order by looking at all the products, look at his cart and deposit money to his wallet.
Finally, a customer can check his profile. Note: When adding money to wallet, a request is sent to the admins. After an admin reviews the request, he confirms to add the money to the customer wallet and then, the database will be updated and the money will be added to the wallet. - Seller
Adding products and checking products lists is the two important things a seller can do. Other than that a seller can withdraw money from his wallet.
A seller can check his profile, just like a customer. - Admin
Admins can confirm deposits/withdraws, add other admins and see all users list.
This project is written entirely with Java, and the GUI is designed using JavaFX and Scene Builder (Scene Builder generates FXML, an XML-based markup language that enables users to define an application's user interface, separately from the application logic. You can also open and edit existing FXML files authored by other users.)
Besides that, the database related stuff are all done using SQLite.
Getting started: Provide instructions on how to download, install, and run your project. Include any , setup steps, configuration options, or environment variables that are necessary.
(To run the project, clone this repo and open the Digishop
folder in your IDE of choice and press the run button)
To start using the application, you can either create an account through the sign up
button or use one of the pre-defined accounts creared for ease of use:
Username | Password | Defined Role |
---|---|---|
customer | customer | customer |
seller | seller | seller |
admin | admin | admin |
After you login to your accaount, a menu will appear showing what you can do.