Basic eShop-based project using Microservices.
★★★ Like this project? Leave a star, follow on Twitter, or find me on LinkedIn. Thanks! ★★★
This project facilitates:
- creating users and products
- adding new user-owned products
- adding new products for sale
- buying products existing in the database
- other very basic
CRUD
operations - basic UI using JSP
This project covers basic concepts of implementing microservice architecture and uses concepts like spring cloud, feign client, Netflix server and client, ribbon, gateway, etc. This project is created using Spring Boot, JSP, and Java for the most part. It also includes core features of Spring Boot and usages of Spring Data JPA with demonstrations of MVC architecture and some clean coding styles.
At the outset, this project contains the following:
- Netflix Eureka server
- Discovery clients
- API Gateway
- DB interaction services
- Client services to get data from DB services
- JSP pages for UI
Requirements to set up and run the project:
- STS
- JDK
- MySQL
- Maven
- Any external browser and postman preferable for better testing
** I have also included a file to import Postman collection (collection v2.1) which contains all sample requests for DB service to test the APIs and play around. Swagger isn't enabled but can be used as well, just add the dependency!
This project is only for learning purposes. I don't own any resources like images used in the development of this project and have used them only for learning purposes. The whole code is written by me and solely belongs to me. This project is kept open-source to spread knowledge and further support learning for other early professionals and students. I shall not be responsible in case of commercial redistribution, mishandling, misuse of data, or any resource that belongs to this project. I have used Java 11 while developing of this project which is limited to learning and development purposes. I have also used the following image as an icon. The image is freely available online and I don't own the image. To credit the author for the image, the image can be accessed from here.
You should follow me on Twitter. Thanks for reading!