Skip to content

dlozina/url-shortener-service-v2

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
DTO
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

url-shortener-service 2

POC API service that serves to shorten URLs. In this second version of url shortener I want to refactor my API controller and test some new features.

Project arhitecture: Project Arhitecture

API endpoints:

HTTP method POST
URI /shorten
Request Body Example:{ url: “http://stackoverflow.com/questions/1567929/website-safe-data-accessarchitecture-question?rq=1“ }
Reponse Type application/json
Response Example: { shortUrl: “http://yourservice.com/xYzw3b“ }
HTTP method GET
URI /{hash}
Reponse Type application/json
Response Example:{ url: “http://stackoverflow.com/questions/1567929/website-safe-data-accessarchitecture-question?rq=1“ }

Swagger Test UI: swaggerTestUI

About

New version of URL shortener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published