You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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