URL Shortener: Java & Spring complete tutorial

This page summarizes the projects mentioned and recommended in the original post on dev.to

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. UrlShortener-API

    API for converting long urls to short urls

    Note: The whole solution is on my Github. I implemented this service using Spring boot and MySQL.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. swagger-core

    Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

    Now Swagger UI is configured and we can start documenting our API. Inside UrlController, above every endpoint, we can use @ApiOperation annotation to add description. Depending on your needs you can use some other annotations.

  4. initializr

    A quickstart generator for Spring projects

    First, visit Spring initializr and select Spring Web and MySql Driver. After that click on Generate button and download zip file. Unzip the file and open the project in your favorite IDE. Every time I start a new project, I like to create some folders to logically divide my code. My folders in this case are controller, entity, service, repository, dto, and config.

  5. maven-mvnd

    Apache Maven Daemon

    Now when we have Dockerfile we should build the image from it. But like I mentioned before, we first need to create .jar file from our project so the COPY command in Dockerfile can work properly. To create executable .jar we are going to use maven. We need to make sure we have Maven inside our pom.xml. If Maven is missing, we can add it

  6. hub-feedback

    Feedback and bug reports for the Docker Hub

    FROM - This is where we set a base image for the build base. We are going to use OpenJDK v13 which is a free and open-source version of Java. You can find other images for your base image at Docker hub which is a place for sharing docker images.

  7. Docker Compose

    Define and run multi-container applications with Docker

    Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Alternative to Google Drive

    3 projects | /r/degoogle | 12 May 2022
  • I treat docs as textbooks and read them regularly

    3 projects | dev.to | 25 Jan 2022
  • Build a data ingestion pipeline using Kafka, Flink, and CrateDB

    6 projects | dev.to | 10 May 2021
  • Ask HN: Where Is the FOSS Alternative to Merge, Paragon, Unified, etc.

    1 project | news.ycombinator.com | 10 Apr 2025
  • Docker Compose: Make –detach (or –follow) the default behaviour on up

    1 project | news.ycombinator.com | 1 Apr 2025

Did you know that Java is
the 8th most popular programming language
based on number of references?