Microservice backend architecture supporting the UstBazaar project is designed to provide a scalable and efficient infrastructure for the mobile application. Written in Kotlin, UstBazaar is a platform specifically catering to HKUST students, enabling them to trade and exchange items.
In this architecture, the backend system is divided into smaller, loosely coupled microservices, each responsible for a specific functionality or feature. These microservices can be developed, deployed, and scaled independently, allowing for easier maintenance and flexibility.
Here's the diagram:
- JDK 17
- Docker
git clone [email protected]:Pat-r1ck/bazaarCore.git
cd bazaarCore
echo "JWT_SECRET_KEY=secret" > .env
echo "ACCESS_AWS_KEY=access_key" > .env
echo "SECRET_AWS_KEY=secret_key" > .env
docker-compose up -d
mvn -f discovery-server spring-boot:run
mvn -f auth-core spring-boot:run
mvn -f gateway spring-boot:run
mvn -f resources-service spring-boot:run
In conclusion, the microservice backend architecture implemented for the UstBazaar project is a robust and scalable solution that caters specifically to HKUST students seeking to trade and exchange items. By dividing the backend system into smaller, independent microservices, the architecture allows for flexibility, easier maintenance, and efficient scaling.