J'ai eu une idée de projet qui soit une base de données qui me permette de répertorier tous les objets de ma maison avec pour chacun leur visualisation graphique .
- La conception (MCD/MLD) de la base de donnée en utilisant Looping
- Le developpement BackEnd en utilisant le framework SpringBoot en Java
- Le developpement frontEnd en utilisant le framework Angular en TypeScript
- Download and install docker
- create a new folder and create a file called "docker-compose.yml" in that folder
- Copy and paste this docker compose text in your docker compose file
version: '3.8'
services:
api:
image: syfsa/homemanagement-api:v1
ports:
- "8080:8080"
depends_on:
- db
environment: # Pass environment variables to the service
SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/homedb
SPRING_DATASOURCE_USERNAME: root
SPRING_DATASOURCE_PASSWORD: root
networks:
- backend
- frontend
container_name: apiurl
homemanagementfront:
image: syfsa/homemanagement-front:v1
ports:
- "4200:4200"
depends_on:
- api
networks:
- frontend
- backend
db:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: homedb
MYSQL_PASSWORD:
volumes:
- db-data:/var/lib/mysql
networks:
- backend
container_name: mysqlurl
phpmyadmin:
image: phpmyadmin:latest
container_name: pma
links:
- db
environment:
PMA_HOST: db
PMA_PORT: 3306
PMA_ARBITRARY: 1
ports:
- 8001:80
networks:
- backend
volumes:
db-data:
networks:
backend:
frontend:
- run this command in a cmd of the folder of docker-compose.yml
docker-compose up
- once finished successfully you can open the project on
localhost:4200