Welcome to the Bank Microservices project! This repository houses a collection of microservices designed to manage various aspects of a bank's operations. Each microservice is containerized using Docker and orchestrated using Docker Compose for easy development, testing, and deployment.
The Bank Microservices project aims to demonstrate the benefits of a microservices architecture for managing a banking system. It's divided into several microservices, each responsible for specific functionalities such as user management, account management, transactions, and more.
- Accounts Service: Manages customer bank accounts.
- Cards Service: Handles Cards registration, authentication, and profile management.
- Loans Service: Handles Loans registration, authentication, and profile management.
- Config Service: To externalize the configuration
Follow these steps to set up and run the project on your local machine:
- Docker and Docker Compose installed on your system.
git clone https://github.com/dipakg007/bank-microservices.git
cd bank-microservices
cd docker-compose
cd [default/qa/prod]
Use Docker Compose to spin up all the microservices:
docker-compose up -d
This command will create Docker containers for each microservice and start them in the background. Wait for around 5min to get all the services up.
Once the containers are up and running, you can access the microservices via their respective endpoints. Refer to the individual microservices' documentation for API endpoints and usage details.
To stop and remove the containers:
docker-compose down