Before you can run this project, make sure you have the following installed:
- JDK 17+ — Required to compile and run the application.
- Gradle 4.4.1+ — To build the project and manage dependencies.
- Git — To clone the repository.
You can check your installed versions with:
java -version
gradle -v
git --versionFollow these steps to set up and run the application on your local machine:
- Clone the repository:
git clone https://github.com/andyflight/spring-ecommerce-example.git
cd spring-ecommerce-example- Build and run the application:
./gradlew bootRun- Access the application in your browser:
http://localhost:8080
The project provides interactive API documentation via Swagger.
- Swagger UI: http://localhost:8080/swagger-ui.html
- OpenAPI (JSON) Docs: http://localhost:8080/api-docs
You can explore available endpoints, send test requests, and visualize responses.
Project was written for Java Spring Course. KPI FICE 2024