Skip to content

this is a full-stack url-shortener with React.js and Spring Boot

Notifications You must be signed in to change notification settings

bkizilkayaa/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

This is a full-stack project where users can easily create shortened and encrypted URLs.

API Explanation at the end.



url-shortener.mp4




If there is no valid domain input:



API Explanation

1-) Get All Shortened URLs

Method: GET

Param: No Param

Result: Gets All Records

Status: 200

+ localhost:8080/api/v1/url



2-) Generate Shortened URL

Method: POST

Param: Original Link Required (json form)

Result: Creates a record

Status: 201 Created

+ localhost:8080/api/v1/url

3-) Get Original URL

Method: GET

Param: Shortened Link

Result: Redirects original link

Status: 200

+ localhost:8080/api/v1/url/{shortLink}

4-) Delete Shortened URL

Method: DELETE

Param: Shortened Link

Result: Removes the record from the database

Status: 200 (Everything is OK)

+ localhost:8080/api/v1/url/{shortLink}

This project is running on localhost. The video shows a domain like "shortener.com" but that domain does not belong to me. I just added it that way to make it look nice. If I buy the domain one day, the url will look like that.

About

this is a full-stack url-shortener with React.js and Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published