Skip to content

val3ri/infrastructure-for-fullstack-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Infrastructure Project

That is the docker-compose part of full stack project consisting of (at least) 4 Docker Containers started with docker-compose file

You need the docker-compose.yml from this project to build this multiple container application.

the structure should like this (some of the important files are on the picture below):

fullstack-project-folder
└───backend folder
│   │   ...
│   └───src
│       │   ...
│   
└───frontend folder
│   └───nginx
│   │   │   default.conf
│   │
│   │   proxy-config-local.json
│   │  ...
│
└───infrastructure folder 
│   │   README.md
│   │   docker-compose.yml

Used technologies

  • Angular
  • Docker
  • Spring Boot
  • nginx
  • npm
  • Maven Wrapper

Required Software for starting the the application

Steps for "prod" deployment

  • building the angular project - production files
ng build 

creates the dist folder in the angular project

  • building spring boot jar - for this step we are using maven wrapper for convinience
./mvnw package

that is the command line solution, but you can also do it straight with your IDE

  • open the folder of the infrastructure project with the console and:
docker-compose up

that will start the multiple container application, creating all of the 4 containers (only if you already create the right project structure like in the picture above!)

Steps for running the the backend or/and frontend application/s locally

work in progress ✍️

info about: database - postgres

work in progress ✍️

info about: database user interface - pgadmin4

work in progress ✍️

info about: backend - spring boot

work in progress ✍️

info about: frontend - angular

work in progress ✍️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published