Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        


URL Shortener

URL Shortener with Java and Jakarta EE


## 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.

app01
app01

## 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)