Skip to content

prajintst/urlshortening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL shortening microservice

Introduction

It's a simple url shortening microservice which take urls and shorten it back using springboot and PGSQL.

Running Application

First configure the environment with proper value the required values are in env file (can use IntelliJ plugins to autoconfig the env by renaming it to .env)

we are just adding basic auth for now. The username password can be configured from env.

USER=user
PASSWORD=password

BASE_URL is for configuring the base url of the shortened url similar to https://bit.ly

SWAGGER_BASE_URLS is for keeping the swagger server url for swagger ui to call the API.

After running the application we can open http://localhost:8082 to see the swagger doc for the rest API. (port may change based on environment value)

JobRunner Dashboard will start at http://localhost:8000/dashboard

DELAY_IN_MIN can be used to config the crone delay.

There is no database caching is added now.

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published