Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Note is a Microservice as a REST API that allows you to create, modify or delete notes to keep track of visits in a mongodb database.

Please go to Mediscreen to learn more about this project.

Prerequisites

  • Java 19
  • Maven 4.0.0
  • Spring Boot 3.0.2
  • MySQL 8.0.29
  • Docker 4.16.2

How to upload the Note image to your Docker Registry

  1. Clone Note to your local machine.
  2. Using a prompt, once located to the root of Note, execute this command to compile, test, package and install the project :
mvn clean install
  1. Still at the same location (to point to the Dockerfile) build the image of Note using :
docker build -t jar .
(Make sure that the jar name inside the Dockerfile is identical to the jar name located to the target folder !)
  1. You can then execute this command to link your local image with a repository of Docker Registry :
docker tag [local_image_name]:latest [your_docker_username]/[distant_repository_name]:latest
(Make sure to be connected to your account on Docker Desktop !)
  1. And finally execute this command to upload your local image to your Docker Registry :
docker push [your_docker_username]/[distant_repository_name]:latest
  1. If you want to build Mediscreen with the image you just created, make sure to modify his docker-compose.yml of replacing the image path inside note.ms by your own :
[your_docker_username]/[distant_repository_name]:latest

About

Note Manager Microservice

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages