{"id":19294421,"url":"https://github.com/mdecker-mobilecomputing/maven_springboot_linkshortener","last_synced_at":"2026-04-09T21:02:37.526Z","repository":{"id":213870926,"uuid":"735140238","full_name":"MDecker-MobileComputing/Maven_SpringBoot_LinkShortener","owner":"MDecker-MobileComputing","description":"Link shortener with Java and Kafka; demo for microservice architecture","archived":false,"fork":false,"pushed_at":"2024-04-12T12:47:06.000Z","size":267,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-13T20:01:47.938Z","etag":null,"topics":["demo","docker","github-actions","h2-database","java","kafka","maven","microservices","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MDecker-MobileComputing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2023-12-23T20:06:13.000Z","updated_at":"2024-04-18T14:41:56.567Z","dependencies_parsed_at":"2024-02-18T15:25:11.976Z","dependency_job_id":"a0172e1c-22b2-4e7d-98a2-78fb97153ebf","html_url":"https://github.com/MDecker-MobileComputing/Maven_SpringBoot_LinkShortener","commit_stats":null,"previous_names":["mdecker-mobilecomputing/maven_springboot_linkshortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FMaven_SpringBoot_LinkShortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FMaven_SpringBoot_LinkShortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FMaven_SpringBoot_LinkShortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDecker-MobileComputing%2FMaven_SpringBoot_LinkShortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MDecker-MobileComputing","download_url":"https://codeload.github.com/MDecker-MobileComputing/Maven_SpringBoot_LinkShortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240397292,"owners_count":19794837,"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":["demo","docker","github-actions","h2-database","java","kafka","maven","microservices","spring-boot"],"created_at":"2024-11-09T22:38:16.409Z","updated_at":"2025-11-16T12:29:54.483Z","avatar_url":"https://github.com/MDecker-MobileComputing.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener with Microservices #\n\n\u003cbr\u003e\n\nThis repository contains the source code for a [URL Shortener Service](https://en.wikipedia.org/wiki/URL_shortening)\nimplemented by several Java microservices (Maven and Spring Boot) with an embedded [H2 database](https://www.h2database.com).\n\n\u003cbr\u003e\n\nA similar application with Nodejs (but still Microservices and Kafka) can be found [here](https://github.com/MDecker-MobileComputing/Nodejs_Express_LinkShortenerMitKafka).\n\n\u003cbr\u003e\n\n----\n\n## Overview ##\n\n\u003cbr\u003e\n\nBefore starting the microservices the Kafka server must be started using the `docker-compose.yml`\nin [this folder](./Kafka/).\nThis file will also start a container with a simple load balancer for the two instances\nof microservice 2 (resolver).\n\n\u003cbr\u003e\n\n**[Microservice 1 (Short Link Definition)](Microservice1_Definition/):**\n* [The only Instance: `localhost:8080`](http://localhost:8080)\n* DAO: `JdbcTemplate`\n\n\u003cbr\u003e\n\n**[Microservice 2: (Link Resolver)](Microservice2_Resolver/):**\n* Instances:\n    * [Instance 1: `localhost:8000`](http://localhost:8000)\n    * [Instance 2: `localhost:8010`](http://localhost:8010)\n    * [Load Balancer (nginx): `localhost:8123`](http://localhost:8123)\n* DAO: `JdbcTemplate` and `NamedParameterJdbcTemplate`\n\n\u003cbr\u003e\n\n**[Microservice 3: (Usage Statistics)](Microservice3_LinkStatistics/):**\n* [The only Instance: `localhost:8050`](http://localhost:8050)\n* DAO: `EntityManager` of *Jakarta Persistence API (JPA)*\n\n\u003cbr\u003e\n\nDAO: **D**atabase **A**ccess **O**bject\n\n\u003cbr\u003e\n\n----\n\n## License ##\n\n\u003cbr\u003e\n\nSee the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License).\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdecker-mobilecomputing%2Fmaven_springboot_linkshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdecker-mobilecomputing%2Fmaven_springboot_linkshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdecker-mobilecomputing%2Fmaven_springboot_linkshortener/lists"}