Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asjordi/url-shortener-java
Url shortener with Java and Jakarta EE
https://github.com/asjordi/url-shortener-java
docker docker-compose hibernate jakarta-ee java jpa jsp jstl-tags mysql servlet tomcat-server
Last synced: 9 days ago
JSON representation
Url shortener with Java and Jakarta EE
- Host: GitHub
- URL: https://github.com/asjordi/url-shortener-java
- Owner: ASJordi
- License: mit
- Created: 2024-03-30T15:01:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T15:37:47.000Z (3 months ago)
- Last Synced: 2024-11-06T16:38:51.254Z (3 months ago)
- Topics: docker, docker-compose, hibernate, jakarta-ee, java, jpa, jsp, jstl-tags, mysql, servlet, tomcat-server
- Language: Java
- Homepage:
- Size: 3.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About :computer:
URL 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.
![]()
## Demo :movie_camera:
https://github.com/ASJordi/url-shortener-java/assets/48893030/ce0019c5-de80-4144-bb62-973210f1fea0
## Stack :hammer_and_wrench:
* Java SE
* Jakarta EE
* JPA - Hibernate
* JDBC
* JSP
* JSTL
* CDI
* Tomcat
* MySQL
* CSS
* Water.css## Installation :gear:
- Clone the repository
```bash
[email protected]:ASJordi/url-shortener-java.git
```- Create a MySQL database with the script in `src/main/resources/db/db.sql`
- Configure the database connection in `src/main/webapp/META-INF/context.xml`
- Install dependencies with Maven
- Configure tomcat to use the MySQL connector
- Run the application with:
```bash
mvn tomcat7:redeploy
```## License :page_facing_up:
Distributed under the MIT License. See `LICENSE` for more information.
## Contact :email:
Jordi Ayala - [@ASJordi](https://twitter.com/ASJordi)
Project Link: [https://github.com/ASJordi/url-shortener-java](https://github.com/ASJordi/url-shortener-java)