{"id":24793980,"url":"https://github.com/asjordi/url-shortener-java","last_synced_at":"2025-03-24T17:47:22.734Z","repository":{"id":230583076,"uuid":"779706659","full_name":"ASJordi/url-shortener-java","owner":"ASJordi","description":"Url shortener with Java and Jakarta EE","archived":false,"fork":false,"pushed_at":"2024-11-07T20:11:53.000Z","size":3319,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T22:34:28.654Z","etag":null,"topics":["docker","docker-compose","hibernate","jakarta-ee","java","jpa","jsp","jstl-tags","mysql","servlet","tomcat-server"],"latest_commit_sha":null,"homepage":"https://url.asjordi.dev","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/ASJordi.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":"2024-03-30T15:01:04.000Z","updated_at":"2024-11-07T20:11:57.000Z","dependencies_parsed_at":"2024-04-21T00:29:25.281Z","dependency_job_id":"c7692837-cf9d-422f-a2b6-ed943a683626","html_url":"https://github.com/ASJordi/url-shortener-java","commit_stats":null,"previous_names":["asjordi/url-shortener-java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASJordi%2Furl-shortener-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASJordi%2Furl-shortener-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASJordi%2Furl-shortener-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ASJordi%2Furl-shortener-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ASJordi","download_url":"https://codeload.github.com/ASJordi/url-shortener-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245321153,"owners_count":20596306,"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":["docker","docker-compose","hibernate","jakarta-ee","java","jpa","jsp","jstl-tags","mysql","servlet","tomcat-server"],"created_at":"2025-01-29T22:30:25.667Z","updated_at":"2025-03-24T17:47:22.709Z","avatar_url":"https://github.com/ASJordi.png","language":"Java","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003e\u003ca href=\"https://url.asjordi.dev/\"\u003eURL Shortener\u003c/a\u003e\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003eURL Shortener with Java and Jakarta EE\u003c/p\u003e\n\u003c/div\u003e\n\n## About :computer:\n\nURL Shortener is a web application that allows you to shorten URLs with a custom alias. To do this, it uses MySQL to store the URLs and the aliases. Implements a AUTH_CODE to protect the creation of new URLs. The application is developed with Java and Jakarta EE. Implements JDBC and JPA to interact with the database. The application is deployed on a VPS using Docker.\n\n\u003cimg src=\"src/main/resources/app01.png\" alt=\"app01\" width=\"400\"/\u003e\n\u003cimg src=\"src/main/resources/app02.png\" alt=\"app01\" width=\"400\"/\u003e\n\n## Demo :movie_camera:\n\nhttps://github.com/ASJordi/url-shortener-java/assets/48893030/ce0019c5-de80-4144-bb62-973210f1fea0\n\n## Stack :hammer_and_wrench:\n\n* Java SE\n* Jakarta EE\n* JPA - Hibernate\n* JDBC\n* JSP\n* JSTL\n* CDI\n* Tomcat\n* MySQL\n* CSS\n* Water.css\n\n## Installation :gear:\n\n- Clone the repository\n\n  ```bash\n  git@github.com:ASJordi/url-shortener-java.git\n  ```\n\n- Create a MySQL database with the script in `src/main/resources/db/db.sql`\n\n- Configure the database connection in `src/main/webapp/META-INF/context.xml`\n\n- Install dependencies with Maven\n\n- Configure tomcat to use the MySQL connector\n\n- Run the application with:\n\n  ```bash\n  mvn tomcat7:redeploy\n  ```\n\n## License :page_facing_up:\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Contact :email:\n\nJordi Ayala - [@ASJordi](https://twitter.com/ASJordi)\n\nProject Link: [https://github.com/ASJordi/url-shortener-java](https://github.com/ASJordi/url-shortener-java)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasjordi%2Furl-shortener-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasjordi%2Furl-shortener-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasjordi%2Furl-shortener-java/lists"}