Skip to content

ntua/softeng20b-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple web application: URL shortener

This is a simple web application which allows users to generate short tracked URLs from longer ones. A short URL redirects to the original URL, when followed. It is tracked in the sense that a counter is incremented, every time the URL is followed.

This application is used as a laboratory case study for the course in Software Engineering taught in the Fall of 2020 at the School of Electrical and Computer Engineering of the National Technical University of Athens.

Technology stack

  1. Backend using Java Spring
  2. MySQL database, although this can change very easily
  3. Frontend using React

How to set it up

  1. Backend

    cd backend/src/main/resources
    cp application.properties.sample application.properties
    edit application.properties

    Specify the URL to the database to be used, username and password. The database and corresponding user must exist before the backend is launched.

    Then, launch the backend in one terminal:

    cd backend
    ./gradlew bootRun
  2. Frontend

    cd frontend/
    yarn install

    Then launch the frontend in another terminal:

    cd frontend/
    yarn start

    and navigate to http://localhost:3000/. It should look like this:

    Frontend


Maintainer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published