Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
83 lines (58 loc) · 2.15 KB

README.md

File metadata and controls

83 lines (58 loc) · 2.15 KB

INVESTMENTS AGGREGATOR

Description

The Investment Aggregator API is a backend application designed to manage users, investment accounts, and assets (stocks). The primary objective is to provide functionalities that allow users to register, update, and retrieve information related to their accounts and financial assets.

Technologies

  • Spring Boot with JAVA 21
  • MySQL (configured via Docker)
  • JUnit, Mockito
  • Maven, Docker

Requirements

  • JAVA 21
  • Docker and Docker Compose
  • Recommended IDE (IntelliJ)

Getting Started

1. Clone the project

To start, clone the repository to your local environment:

git clone https://github.com/melvintivane/investment_aggregator.git

2. Navigate to the Project Directory

Change to the project directory:

cd /investments_agregator

3. Set Up Docker Containers

Build and run the Docker containers for the application and database:

cd /docker

docker-compose up

4. Create a Brapi Account

Register for an account at Brapi

5. Generate a Brapi TOKEN

Generate a Brapi Token from your dashboard. Ensure you keep this token secure and do not expose it in your codebase.

6. Add Brapi TOKEN to Environment Variables in IntelliJ

  • Open your project in IntelliJ.

  • Go to Run > Edit Configurations.

  • Select the appropriate configuration.

  • Add the following environment variable:

BRAPI_TOKEN=your_generated_token_here

SEE THE ILLUSTRATION BELLOW

Step one Step two Step three Step four Step five

7.Start the Application

Run the application from IntelliJ or using the following Maven command:

mvn spring-boot:run

Contribution Guidelines

Feel free to contribute by submitting pull requests or reporting issues in the repository.

Contact

For further assistance, contact the maintainer at melvinshuster47@gmail.com.