Skip to content

ShiftSad/Shorty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorty
Try Now! Issues


⚡ Introduction

Shorty is a free, open-source URL shortening service. Designed to be blazingly fast™.

🔥 Tech Stack

Go Gin Gorm PostgreSQL HTML5 CSS3 JavaScript

🚀 How to Self-Host

You can deploy this project on Railway with just one click:

Deploy on Railway

Manual Setup

  1. Clone the Repository

    git clone https://github.com/ShiftSad/Shorty.git
    cd Shorty
  2. Set Up PostgreSQL
    Ensure you have a PostgreSQL database running. Then, set the DSN (Data Source Name) environment variable with your PostgreSQL connection URL.

    On Linux/macOS:

    export DSN="postgresql://postgres:pa$$word@localhost:5432/postgres"

    On Windows (PowerShell):

    $env:DSN="postgresql://postgres:pa$$word@localhost:5432/postgres"
  3. Run the Application

    go run main.go

That's it! Your application should now be running locally. 🚀

👀 Visuals

Visuals

About

Url shortner built using Go!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published