Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajadilipkolli/investment-profile
end to end application using angular and microservices
https://github.com/rajadilipkolli/investment-profile
angular circuit-breaker microservices mongodb service-registry spring-boot spring-cloud
Last synced: about 1 month ago
JSON representation
end to end application using angular and microservices
- Host: GitHub
- URL: https://github.com/rajadilipkolli/investment-profile
- Owner: rajadilipkolli
- Created: 2021-03-10T09:10:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T15:30:39.000Z (7 months ago)
- Last Synced: 2024-04-13T16:45:10.470Z (7 months ago)
- Topics: angular, circuit-breaker, microservices, mongodb, service-registry, spring-boot, spring-cloud
- Language: Java
- Homepage:
- Size: 8.19 MB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/rajadilipkolli/investment-profile)
# investment-profile
This repository is the sample microservices based end to end solutions which demonstrates key microservices architecture patterns## Tools Required
* JDK 17+
* Node 18+
* IDE(IntelliJ Or VSCode or STS)## Steps to start backend application
Goto Services folder and issue command
```shell
docker compose up
```this will bring mongo and zipkin up which will be used as infrastructure for all projects.
Bring all services up in following order1. discovery-service
2. api-gateway
3. portfolio-service
4. sip-service
5. stock-serviceVerify if all services are up here
http://localhost:8761
## Steps to start the application and open webpage(Please setup mongodb and backend services) ahead :
Step 1: - use below command in cmd: -
>
```bash
npm install -g @angular/cli
```
>
```bash
ng serve
```Step 2: - Open Google Chrome and hit **http://localhost:4200**
step 3: - For convenience, Test user is created which can be used to login. you can also create your own profile(signup) and start using application.
Test User Details: -
==================Email: [email protected]
password: welcome123Note: If you are facing error related to Angular Material, Consider doing below: -
1. `ng add @angular/material`
Note: select below options while installing: -
? Choose a prebuilt theme name, or "custom" for a custom theme: Indigo/Pink
? Set up global Angular Material typography styles? Yes
? Set up browser animations for Angular Material? Yes
## Changes in code
- Due to breaking changes in spring boot 2.6.0 we cannot use spring fox 3.0.0 starter unless it is fixed, hence migrated to **springdoc openui** - Wont switch back to spring fox
- Upgraded to **Java 17**
- Converted all maven wrappers to **Apache Maven Wrapper** using command `mvn wrapper:wrapper`
- Since api-gateway is migrated to spring cloud gateway which under the hood uses webflux `server.servlet.context-path` is no longer valid, it should be replaced with `spring.webflux.base-path`