Backend application that allows a user to log their day to day trades for better accessability and readability.
Application is secured using spring security.
Role based authentication is implemented using JWT
The application makes http call to open nse(National Stock Exchange) url using Java 11 - HttpClient API, to retrive basic stock data including current-stock-price,
stock-code, etc.
After every one of this http call is made, the Stock table of the application is updated or inserted depending on whether or not the fetch is for a new stock.
User can enter new trades. For each trade added, the percentage of capital employed for each of teh other trades of that user is automatically updated accordingly.
This is achieved using observer pattern
View Trade API retrieves the stock data of the currently logged in user based on the JWT token
UI application for this service is developed using Angular - github url https://github.com/NaveenJoyGit/FinancialLoggerUI