This project is part of the Wells Fargo Certificate Software Program. It represents the backend data model for a portfolio management system used by financial advisors to manage client investments efficiently.
The backend system is built using Java Spring Boot and JPA (Java Persistence API) to model relationships between advisors, clients, portfolios, and securities. These entities are persisted to a relational database using object-relational mapping.
- Java 17+
- Spring Boot
- Spring Data JPA
- Maven (or Gradle)
- H2 / MySQL (any relational DB)
- IntelliJ IDEA
- Git & GitHub
- Advisor: Manages multiple clients
- Client: Has one or more portfolios
- Portfolio: Belongs to one client and holds multiple securities
- Security: Represents a stock/bond/asset within a portfolio
src/
└── main/
└── java/
└── com/
└── yourcompany/
└── project/
└── entities/
├── Advisor.java
├── Client.java
├── Portfolio.java
└── Security.java
- Open the project in IntelliJ IDEA
- Ensure your database config is set in
application.properties - Run the Spring Boot application
- (Optional) Add a
CommandLineRunnerto insert sample data for testing
- ✅ Used
@Entity,@Id,@GeneratedValueannotations - ✅ Set up relationships:
@OneToMany,@ManyToOne - ✅ Added constructors, getters, and setters for all fields
- ✅ No setter for
idfields - ✅ Followed Spring Boot and JPA standards
This project fulfills Task 2 of the Wells Fargo program: “Implement the data model using Spring + JPA.” All entities reflect the data model approved in Task 1 (ERD).
- Developer: shashi kiran
- LinkedIn: https://www.linkedin.com/in/shashi-kiran-a5486a194/
- GitHub: github.com/shashikiran61612