This playground repository is intended to build an application in Angular which consumes multiple backend microservices developed in SpringBoot. The idea is to initially configure a test environment based on a single-host with multiple docker containers hosting the different services. A web-server (NGINX) that acts as the entry-point of the application hosting the built Angular application and configured to proxy the API traffic to the corresponding backend service hosted on its own docker container.
- Clone repository
git clone https://github.com/ahmedabadawi/playground-docker-spring-angular.git
cd playground-docker-spring-angular
- Build Angular application
cd frontend/frontend-app
ng build
- Build backend services
cd ../../backend
cd messaging-service
mvn clean package
cd ../notifications-service
mvn clean package
- Build and run docker compose
cd ../../
docker-compose build
docker-compose up
- Open browser on http://localhost
- Docker CE >= version 18
- Docker Compose >= version 1.20
- Maven 3.x.x
- JDK 1.8+
My playground repositories are not intended to provide complete applications, basically they are sandboxes and pet projects to try different technologies and techniques.