Skip to content

Spring Boot + Velocity + MongoDB to build a simple shortURL application

Notifications You must be signed in to change notification settings

betrcode/shortURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stack

Built a simple shortURL web application using:

  • Spring Boot
  • Thymeleaf template engine
  • MongoDB

Features

  • Create a "short" URL from another, perhaps longer, URL, and persist it in db.
  • Receive a request for the short URL and redirect to the long URL.

Requirements

  • Java 11
  • MongoDB

How to

  • Build: mvn install
  • Start MongoDB: docker run -p 27017:27017 --name shorturl-mongo mongo:latest
  • Run packaged application: java -jar target/shortURL-0.0.1-SNAPSHOT.jar
  • Or run using foreman: foreman run web
  • Access application: http://localhost:8080/

About

Spring Boot + Velocity + MongoDB to build a simple shortURL application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published