Giter VIP home page Giter VIP logo

spring-boot-ecommerce-web-application's Introduction

Introduction

This project is a web application developed using Java, Spring Boot, and JavaScript. It provides an e-commerce platform where users can view, add, and manage products.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of Java, Maven, and Mysql.
  • You have a <Windows/Linux/Mac> machine. State which OS is supported or all.

Installation ๐Ÿ”ง

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

# Clone the repository
git clone https://github.com/Zaaim-Halim/spring-boot-ECommerce-web-application.git

# Navigate to the project directory
cd spring-boot-ECommerce-web-application

Database Configuration

This application is configured to use a MySQL database. The configuration is specified in the application.properties file in the src/main/resources directory:

  1. Install MySQL on your machine. You can download it from here.

  2. Once installed, create a new database for the application. You can do this via the MySQL command line interface or a GUI tool like MySQL Workbench. Here's how you can do it via the command line:

    mysql -u root -p
    CREATE DATABASE your_database_name;
  • spring.datasource.url: JDBC URL for the MySQL database. Specifies the database server's location, the database name, and several connection parameters.
  • spring.datasource.username and spring.datasource.password: Username and password to connect to the MySQL database.
  • spring.jpa.properties.hibernate.dialect: Tells Hibernate to generate SQL queries that are compatible with MySQL.
  • spring.jpa.hibernate.ddl-auto: Hibernate will automatically create or update the database schema on startup.
  • logging.level.org.hibernate.SQL: Hibernate will log all the SQL statements it generates.
  • server.port: The port number on which the Spring Boot application will run.
  • spring.banner.charset: The character set for the Spring Boot banner.

Please update these properties with your actual MySQL configuration.

spring-boot-ecommerce-web-application's People

Contributors

abdelhak-zaaim avatar zaaim-halim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.