Skip to content

diogolundberg/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”— A simple URL Shortener API

Stack

URL Shortener is built using:

  • Spring Framework, an application framework for the Java platform.
  • Spring Boot, an framework designed to simplify the bootstrapping and development Spring applications.
  • Gradle, an open-source build automation system. Feel free to use the gradlew on bash or gradlew.bat on windows cmd.

Requirements

The following software is required to be installed locally in order to get this project running:

  • Java 1.8
  • Docker

Run the project

  1. Make sure you have a functional docker environment

  2. Clone from github (this will create url-shortener in the current directory)

git clone https://github.com/diogolundberg/url-shortener.git
cd url-shortener
  1. Build the project
gradlew build
  1. Run the project
docker-compose up

Try it

curl -XPOST localhost:8080/shorten -H 'Content-Type: application/json' -d '{
  "url": "https://www.example.com/"
}'

No curl?

About

๐Ÿ”— A simple URL Shortener API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy