Skip to content

Pat-r1ck/bazaarCore

Repository files navigation

BazaarCore


Table of Contents


Introduction

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:

alt Architecture Diagram


Prerequisites

  • JDK 17
  • Docker

Installation

Clone the repo

git clone [email protected]:Pat-r1ck/bazaarCore.git

Change directory to project folder

cd bazaarCore

Edit environment file

echo "JWT_SECRET_KEY=secret" > .env
echo "ACCESS_AWS_KEY=access_key" > .env
echo "SECRET_AWS_KEY=secret_key" > .env

Start Postgresql databases

docker-compose up -d

Start Discovery Server

mvn -f discovery-server spring-boot:run

Start Auth Core

mvn -f auth-core spring-boot:run

Start API Gateway

mvn -f gateway spring-boot:run

Start Resources Service

mvn -f resources-service spring-boot:run

Conclusion

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages