Welcome to the Ecommerce Shop Management System repository! This individual project aims to create a robust Ecommerce application utilizing Java, Spring Boot, Hibernate, and various other technologies.
- Java 20: Leveraging the latest features of the Java programming language.
- Spring Boot: A powerful framework for building Java-based enterprise applications.
- Hibernate: An object-relational mapping framework for the Java programming language.
- REST Controllers: Utilized for building RESTful web services to handle HTTP requests.
- JUnit and Mockito: Employed for testing purposes, ensuring code reliability and functionality.
- Mock MVC: Used for testing Spring MVC controllers.
- Basic SQL: Fundamental SQL for database interactions.
- Maven: A build automation tool for managing the project's build lifecycle.
- IntelliJ IDEA: The integrated development environment used for coding and development.
- Swagger: Implemented for API documentation, making it easier for developers to understand and consume the API.
- PostgreSQL: Chosen as the primary relational database for robust data storage.
- Liquibase: Ensured version-controlled database schema updates and management.
- Bitbucket: The version control system utilized for source code management.
- Pull Requests and Code Review: Best practices for collaborative development and maintaining code quality.
- GIT: Version control system for tracking changes in the source code.
- Swagger Documentation: Implemented Swagger for clear and concise API documentation, facilitating easier integration and understanding.
- Data Generator: Incorporated a data generator for realistic testing scenarios, ensuring comprehensive testing of the application.
- Global Exception Handling: Established a global exception handling mechanism to enhance the application's resilience to unforeseen errors.
- Efficient Database Management: Utilized both SQL and PostgreSQL for efficient database querying and management.
- Version-Controlled Database Schema: Managed the database schema updates seamlessly using Liquibase.
- Stream API: Leveraged the Stream API for efficient data processing and manipulation in the application.
Ensure you have the following dependencies installed on your development environment:
- Java 20: Download and Install Java
- Maven: Download and Install Maven
- PostgreSQL: Download and Install PostgreSQL
Follow these steps to set up and run the Ecommerce Shop Management System:
-
Clone the repository:
git clone https://github.com/joannawalach1/Ecommerce-ShopManagmentSystem.git
-
Navigate to the project directory:
cd Ecommerce-ShopManagmentSystem -
Build the project using Maven:
mvn clean install
-
Create a PostgreSQL database:
- Create a PostgreSQL database named
ecommerce_db. - Update the database configuration in the
application.propertiesfile if needed.
- Create a PostgreSQL database named
-
Run Liquibase for database migrations:
mvn liquibase:update
-
Run the application:
mvn spring-boot:run
-
Access the application: Open your web browser and go to http://localhost:8080 to access the Ecommerce Shop Management System.