Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dhiraj9022/tiny-url

Implemented Tiny URL service with JWT authentication. User sign-up generates a token for login, allowing access to short URL creation and redirection APIs.
https://github.com/dhiraj9022/tiny-url

java junit5 jwt-authentication jwt-token lombok maven mysql-database spring-boot spring-data-jpa spring-security

Last synced: about 1 month ago
JSON representation

Implemented Tiny URL service with JWT authentication. User sign-up generates a token for login, allowing access to short URL creation and redirection APIs.

Awesome Lists containing this project

README

        

# Url-Shortner
Url-Shortner get long Url to short them

## Tech Stack
- Spring Boot with java
- internal hash map used for cache purpose
- adding in postgres database
- Test case is pending

## Home
Welcome to Url Shortner Application

POST : /url-shortner/home

![image](https://user-images.githubusercontent.com/55016700/214048775-fe3fb0bb-e9e6-4e31-bc15-8d4f16d708e7.png)

POST : /url-shortner

![image](https://user-images.githubusercontent.com/55016700/214049468-08bb6727-4e0d-4290-bf3c-764b83a70d44.png)

GET : /url-shortner

![image](https://user-images.githubusercontent.com/55016700/214049899-4342f941-e181-480a-8475-8793c11482b7.png)

GET : /url-shortner/88190fe

    paste generate short url in redirect url.


![image](https://user-images.githubusercontent.com/55016700/214050334-cb99c96a-a64e-45f9-9439-89c200e8eef5.png)

## Paste Redirect Url in broswer to see result

![image](https://user-images.githubusercontent.com/55016700/214050796-82794f6e-aeaf-4ff7-8820-e0dcfeb74c7a.png)