{"id":20314167,"url":"https://github.com/samuel-ricardo/ems_email","last_synced_at":"2026-05-07T21:48:02.608Z","repository":{"id":210816556,"uuid":"727514061","full_name":"Samuel-Ricardo/ems_email","owner":"Samuel-Ricardo","description":"Email Microsservice for a email service application with RabbitMQ and Spring Framewrok","archived":false,"fork":false,"pushed_at":"2024-01-13T17:21:38.000Z","size":5050,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-14T12:43:46.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samuel-Ricardo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-05T02:33:31.000Z","updated_at":"2024-01-17T12:23:01.000Z","dependencies_parsed_at":"2024-01-13T18:45:46.383Z","dependency_job_id":null,"html_url":"https://github.com/Samuel-Ricardo/ems_email","commit_stats":null,"previous_names":["samuel-ricardo/ems_email"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fems_email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fems_email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fems_email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samuel-Ricardo%2Fems_email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samuel-Ricardo","download_url":"https://codeload.github.com/Samuel-Ricardo/ems_email/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818841,"owners_count":20025207,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:14:13.274Z","updated_at":"2025-12-01T10:05:44.408Z","avatar_url":"https://github.com/Samuel-Ricardo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Email Microservice - [EMAIL]\n\n\u003cp align=\"center\"\u003e \n  \u003ca href=\"https://spring.io/\" target=\"_blank\"\u003e\n    \u003cimg width=\"80%\" src=\"https://res.cloudinary.com/practicaldev/image/fetch/s--wRMdL8Hi--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://dev-to-uploads.s3.amazonaws.com/i/5wv3jwohdhckevgdejku.png\"/\u003e\n  \u003c/a\u003e \n\u003c/p\u003e\n\n\u003ch4 align=\"center\" \u003e🚀 🟧 Email Microservice 🟧 🚀\u003c/h4\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Email Microservice of an Email Messenger System based on \u003ca href=\"https://www.youtube.com/@MichelliBrito\" target=\"_blank\" \u003e@MichelliBrito\u003c/a\u003e's classes \n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  |\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#project\"\u003eOverview\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#techs\"\u003eTechnologies\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#app\"\u003eProject\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#routes\"\u003eRoutes\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#run-project\"\u003eRun\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\n  \u003ca style=\"color: #8a4af3;\" href=\"#author\"\u003eAuthor\u003c/a\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;|\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\u003c/p\u003e\n\n#\n\n\u003ch1 align=\"center\"\u003e\n\n  \u003ca href=\"https://github.com/Samuel-Ricardo\"\u003e\n    \u003cimg src=\"https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=GITHUB\"/\u003e\n  \u003c/a\u003e\n\n  \u003ca herf=\"https://www.instagram.com/samuel_ricardo.ex/\"\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel.ex\u0026color=black\u0026style=for-the-badge\u0026logo=instagram'/\u003e \n  \u003c/a\u003e\n\n  \u003ca herf='https://www.linkedin.com/in/samuel-ricardo/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=LinkedIn'/\u003e \n  \u003c/a\u003e\n\n\u003c/h1\u003e\n\n\u003cbr\u003e\n\n\u003cp id=\"project\"/\u003e\n\n\u003ch2\u003e | 🛰️ About:  \u003c/h2\u003e\n\n\u003cp align=\"justfy\"\u003e\n    This application is an implementation of a Microservices Architecture using RabbitMQ for queue communication and the best practices of Clean Architecture, SOLID and DDD, all documented. Use Docker to handle the entire system structure.\n\u003c/p\u003e\n\n:octocat: | User Microservice: [ https://github.com/Samuel-Ricardo/ems_user ]\n\n\u003cbr\u003e\n\n\u003ch2 id=\"techs\"\u003e\n| 🏗️ - Technologies and Concepts Studied:\n\u003c/h2\u003e\n\n\u003e \u003ca href='https://spring.io/'\u003e \u003cimg width=\"40px\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/spring/spring-original.svg\" /\u003e \u003c/a\u003e\n\n\u003cbr\u003e\n\n- Spring Framework\n- RabbitMQ\n- PostgreSQL\n- Docker\n- Microservice\n- Communication Between Microservices\n- Email SMTP\n- Maven\n- REST\n- Swagger\n- Validation\n- Lombok\n- Environment\n- Clean Architeture\n- DDD\n- JUnit\n- H2 Database\n- Error Handler\n\n\u003e Among Others...\n\u003cbr\u003e\n\n#\n\n\u003ch2 id=\"app\"\u003e\n  💻 | Application:\n\u003c/h2\u003e\n\n\u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/preview_arch.png\"/\u003e\n\n\u003cbr\u003e\n\n\u003cp\u003e\n    Giving an overview, this architecture is divided into User Microservice and Email Microservice, each with its own databases, communication between them occurs through a broker which in this case is based on asynchronous queues managed by RabbitMQ\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003ch3\u003e 🕺 | User \u003c/h3\u003e\n\n:shipit: | Repository: [ https://github.com/Samuel-Ricardo/ems_user ]\n\n\u003cbr\u003e\n\n  \u003cp\u003e\n    The main function of User Microservice is to list and register users in a database. When a user is saved in this MS, it publishes this event to the broker.\n  \u003c/p\u003e\n\n \u003cbr\u003e\n\n\u003ch3\u003e 📧 | Email \u003c/h3\u003e\n\n:shipit: | Repository: [ https://github.com/Samuel-Ricardo/ems_email ]\n\n  \u003cbr\u003e\n\n  \u003cp\u003e\n    The main function of the Email Microservice is to send a welcome email to new users, for this it listens to the broker, when a created user event is published this MS consumes this event and sends an email to this new created user welcoming . \n  \u003c/p\u003e\n\n \u003cbr\u003e\n\n\u003ch3\u003e 📮 | Broker \u003c/h3\u003e\n\n\u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/broker.png\"/\u003e\n\n\u003cp\u003e\n  The broker is an intermediary between microservices, it receives events and store in a Queue Data Structure that is triggered and can be consumed by other microservices that are waiting for it to react.\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n\u003ch3\u003e 🌱 | Example \u003c/h3\u003e\n\n\u003e \u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/demo1.png\"/\u003e\n\u003e \u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/demo2.png\"/\u003e\n\u003e \u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/demo3.png\"/\u003e\n\u003e \u003cimg src=\"https://github.com/Samuel-Ricardo/ems_user/raw/main/READEME_FILES/demo4.png\"/\u003e\n\n\u003cbr\u003e\n\n#\n\n\u003ch2 id=\"run-project\"\u003e \n   👨‍💻 | How to use\n\u003c/h2\u003e\n\n\u003cbr\u003e\n\n### Open your Git Terminal and clone this repository\n\n```git\n  $ git clone \"git@github.com:Samuel-Ricardo/ems_email.git\"\n```\n\n### Make Pull\n\n```git\n  $ git pull \"git@github.com:Samuel-Ricardo/ems_email.git\"\n```\n\n\u003cbr\u003e\n\nThis application use `Docker` so you dont need to install and cofigurate anything other than docker on your machine.\n\n\u003e \u003ca target=\"_blank\" href=\"https://www.docker.com/\"\u003e \u003cimg width=\"48px\" src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/docker/docker-plain-wordmark.svg\" /\u003e \u003c/a\u003e\n\n\u003cbr\u003e\n\nNavigate to project folder and run it using `docker-compose`\n\n```bash\n\n  # After setup docker environment just run this commmand on root project folder:\n\n  $ docker-compose up --build   # For First Time run this command\n\n  $ docker-compose up           # to run project\n\n\n```\n\n```bash\n\n  #Apps Running on:\n\n  $ USER: http://localhost:8080 - [MICROSERVICE] | [USER]\n  $ EMAIL: http://localhost:8081 - [MICROSERVICE] | [EMAIL]\n  \n  $ SWAGGER: http://localhost:8080/swagger-ui/index.html - [DOCS]\n\n\n  $ PostgreSQL: http://localhost:5431 - [DATABASE] | [USER]\n  $ PostgreSQL: http://localhost:5432 - [DATABASE] | [EMAIL]\n  \n  $ PGAdmin: http://localhost:5050 - [DATABASE] | [VIEW]\n\n\n  $ RabbitMQ: :5672 - [BROKER]  \n  $ RabbitMQ: http://localhost:15672 - [BROKER] | [VIEW]\n\n  See more: docker-compose.yaml\n\n```\n\n\u003cbr\u003e\n\n#\n\n\u003ch2 id=\"author\"\u003e\n  :octocat: | Author:  \n\u003c/h2\u003e\n\n\u003e \u003ca target=\"_blank\" href=\"https://www.linkedin.com/in/samuel-ricardo/\"\u003e \u003cimg width=\"350px\" src=\"https://github.com/Samuel-Ricardo/bolao-da-copa/blob/main/readme_files/IMG_20220904_220148_188.jpg?raw=true\"/\u003e \u003cbr\u003e \u003cp\u003e \u003cb\u003e - Samuel Ricardo\u003c/b\u003e \u003c/p\u003e\u003c/a\u003e\n\n\u003ch1\u003e\n  \u003ca herf='https://github.com/Samuel-Ricardo'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=GITHUB'\u003e \n  \u003c/a\u003e\n\n  \u003ca herf='https://www.instagram.com/samuel_ricardo.ex/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel.ex\u0026color=black\u0026style=for-the-badge\u0026logo=instagram'\u003e \n  \u003c/a\u003e\n\n  \u003ca herf='https://twitter.com/SamuelR84144340'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=twitter'\u003e \n  \u003c/a\u003e\n\n   \u003ca herf='https://www.linkedin.com/in/samuel-ricardo/'\u003e\n    \u003cimg src='https://img.shields.io/static/v1?label=\u0026message=Samuel%20Ricardo\u0026color=black\u0026style=for-the-badge\u0026logo=LinkedIn'\u003e \n  \u003c/a\u003e\n\u003c/h1\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-ricardo%2Fems_email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuel-ricardo%2Fems_email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuel-ricardo%2Fems_email/lists"}