A Spring Boot-based application designed to manage financial portfolios, clients, and securities efficiently.
Before you begin, ensure you have met the following requirements:
- Java JDK 11+ β
- Maven π¦
- MySQL π’οΈ
- Postman (optional, for API testing) π§ͺ
- Get All Clients: Retrieves a list of all clients.
- GET /api/clients:
GET http://localhost:9988/api/clients
- Example:
GET http://localhost:9988/api/clients
POST http://localhost:9988/api/clients
- Example JSON:
{ "name": "John Doe", "email": "john.doe@example.com", "phoneNumber": "123-456-7890" }
- DELETE /api/clients/Delete/{id}
DELETE http://localhost:9988/api/clients/Delete/2
- GET /api/advisors
GET http://localhost:9988/api/advisors
- GET /api/advisors/{id}
GET http://localhost:9988/api/advisors/2
- POST /api/advisors
POST http://localhost:9988/api/advisors
{ "name": "Jane Smith", "email": "jane.smith@example.com", "phoneNumber": "098-765-4321" }
- DELETE /api/advisors/{id}
DELETE http://localhost:9988/api/advisors
- Get All Portfolios:
GET http://localhost:9988/api/portfolios
- Get Portfolio By ID:
GET http://localhost:9988/api/portfolios/{id}
- Create Portfolio:
POST http://localhost:9988/api/portfolios
{ "client": { "id": 1, "name": "John Doe", "email": "john.doe@example.com", "phoneNumber": "123-456-7890" }, "securities": [] }
-DELETE Portfolio: DELETE http://localhost:9988/api/portfolios
- GET /api/securities
GET http://localhost:9988/api/securities
- GET /api/securities/{id}
GET http://localhost:9988/api/securities\{id}
```json
{
"name": "AAPL",
"category": "Stock",
"purchaseDate": "2023-07-01",
"purchasePrice": 150.00,
"quantity": 10,
"portfolio_id": 2
}
- DELETE /api/securities/{id}
DELETE http://localhost:9988/api/securities\{id}
````bash
git clone https://github.com/yourusername/financial-portfolio-management.git
````bash
cd financial-portfolio-management
````bash
mvn clean install
````bash
mvn spring-boot:run
````bash
http://localhost:9988/api
- We welcome contributions! Please read our contributing guidelines for more details.
-
For any questions or suggestions, please feel free to reach out.
-
Gmail :
syamreddypenumallu@gmail.com
-
Happy Coding! π