Skip to content
This repository was archived by the owner on Oct 7, 2023. It is now read-only.

selutin99/urlshortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netology tesk task

URL-shortener application via Spring Boot & Redis.

Installation

1. Build JAR

Package the application: $ ./mvnw clean package

To skip the tests use: -DskipTests=true

2. Run docker

$ docker-compose build && docker-compose up -d

3. Verify the application is running

Application listens on port 8080.

Check swagger-ui

http://localhost:8080/swagger-ui/index.html

Or use curl:

Create short-URL:
GET http://localhost:8080/urlshortener?url=http://www.google.com

Get full URL by short-link:
GET http://localhost:8080/urlshortener/4170157c

About

Test task for Netology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published