Skip to content

Martinkata1/ecommerceShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Website for Turkish Products

This project is an e-commerce website primarily focusing on Turkish products. It includes an admin panel, a client panel, and a library that connects everything. The project is being developed for my father, ensuring robust validation and secure operations.

Table of Contents

  1. Introduction
  2. Features
  3. Technologies Used
  4. Installation
  5. Usage
  6. Screenshots
  7. Contributing
  8. License
  9. Contact

Introduction

This e-commerce platform allows users to browse, search, and purchase various Turkish products. Administrators can manage products, orders, and users through a dedicated admin panel.

Features

  • User Authentication (Registration, Login, Logout)
  • Product Listing and Details
  • Shopping Cart and Checkout
  • Order Management
  • Admin Panel for Product and Order Management
  • CRUD operations for products, orders, and users
  • Database integration with proper validation and checks
  • Responsive design with Thymeleaf templates

Technologies Used

  • Backend: Java, Spring Boot
  • Frontend: HTML, CSS, JavaScript, Thymeleaf
  • Database: MySQL (or any other database you use)
  • Libraries: Lombok
  • Tools: Maven, Git

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/e-commerce-website.git
    
  2. Navigate to the project directory:
    cd e-commerce-website
    
  3. Install dependencies:
    mvn install
  4. Configure the database settings in application.properties.
  5. Run the application:
    mvn spring-boot:run
    

Usage

  1. Access the website at http://localhost:8019/admin/ for Admin Panel and http://localhost:8020/shop/ for Customer Panel.
  2. Log in as an admin to manage products, orders, and users.
  3. Register or log in as a user to browse and purchase products.

Screenshots

Admin Login

  • Login for Admin, you can create and log.

Admin Homepage

  • This is admin homepage.

Admin Categories

  • You can add/delete Categories.

Admin Products

  • You can add/delete Products.

Admin Orders

  • You can see and apply/finish Orders.

Customer Login

  • Login for every Customer, you can create and log.

Customer Homepage

  • This is customer homepage.

Product Page

  • Menu, you can see overall products with categories.

Product Page Special

  • This is Real Shop, you can every product with categories, search by name product, sort by categories and see how much products has every category.

Chart With Products Page

  • When you add some products, your chart will have products and you can order.

Finishing Order

  • When you click "Продължи", you will see last Panel for eventually customizing customer's information, and if you continue, you will finish the order.

Finished Order

  • Finished? You see your receipt for products.

History of your Orders

  • Once you finish your order, you can see in "Вашите поръчки" yours orders. When is added and when will be shipped, you can cancel the order.

Contacts US

  • Contacts, when you have problem or want to visit us, contacts about us.

Information Page

  • More information about us and location with Google Map.

DB Files

  • Every table for this project in base data(This is from MySQL, i think you can use DBeaver for example too).

Problem in DB

  • WARNING: Please in country and cities add some information, because the order can't be finished, if it is empty. For example in country add country_id is id number of country and name the country next to it. In cities, just add id number city, name and exist country_id number. After screenshots, i will explain better how to Setup the Data Base

Database Setup

WARNING: Please ensure that you have populated the country and cities tables with some initial data, otherwise the order cannot be completed. Here are the steps to add the necessary information:

Adding Data to the Country Table

  1. Open your database management tool (e.g., MySQL Workbench).
  2. Execute the following SQL query to insert data into the country table:
    INSERT INTO country (country_id, name) VALUES (1, 'Turkey');
  • country_id is the ID number of the country.
  • name is the name of the country.

Adding Data to the Cities Table

  1. Execute the following SQL query to insert data into the cities table:
    INSERT INTO cities (city_id, name, country_id) VALUES (1, 'Istanbul', 1);
  • city_id is the ID number of the city.
  • name is the name of the city.
  • country_id is the ID number of the corresponding country, creating a link between the city and the country.

Contributing

If you wish to contribute to this project, please fork the repository and submit a pull request. You can also open an issue to discuss potential improvements or report bugs.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature-branch)
  5. Open a pull request

License

This project is not licensed.

Contact

For any questions or comments, feel free to reach out:

About

Bulgarian version of grocery eCommerce shop, old forgotten project from school and now i will try to finish it:)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors