GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mleyvag/playground-docker-spring-angular: Playground - Using docker to host multiple SpringBoot backend services and frontend in Angular 5

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
docs
docs
 
 
frontend
frontend
 
 
README.md
README.md
 
 
build.sh
build.sh
 
 
docker-compose.yml
docker-compose.yml
 
 
mongo.dockerfile
mongo.dockerfile
 
 
nginx.conf
nginx.conf
 
 
nginx.dockerfile
nginx.dockerfile
 
 

Repository files navigation

Playground - Docker, SpringBoot, and Angular 5

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.

Single Host Diagram

Build Steps

  1. Clone repository
git clone https://github.com/ahmedabadawi/playground-docker-spring-angular.git
cd playground-docker-spring-angular
  1. Build Angular application
cd frontend/frontend-app
ng build
  1. Build backend services
cd ../../backend
cd messaging-service
mvn clean package
cd ../notifications-service
mvn clean package
  1. Build and run docker compose
cd ../../
docker-compose build
docker-compose up
  1. Open browser on http://localhost

Prerequisites

  • Docker CE >= version 18
  • Docker Compose >= version 1.20
  • Maven 3.x.x
  • JDK 1.8+

Disclaimer

My playground repositories are not intended to provide complete applications, basically they are sandboxes and pet projects to try different technologies and techniques.

About

Playground - Using docker to host multiple SpringBoot backend services and frontend in Angular 5

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.