This is a Java project built with Maven. It serves as an e-commerce backend with various controller endpoints. It uses the Lombok library for boilerplate code reduction and has a structured approach to handle different environments with the help of properties files.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
mvn install
mvn spring-boot:run
The tests can be run using the following command: mvn test
This project serves as an e-commerce backend with the following endpoints:
/products
: Fetch all products/products/{id}
: Fetch a specific product/users
: Fetch all users (Admin Only)/users/{id}
: Fetch a specific user/orders
: Fetch all orders/orders/{id}
: Fetch a specific order