Skip to content

A very basic URL shortener written in Go using Gin, GORM, and SQLite3.

Notifications You must be signed in to change notification settings

rayhanadev/go-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go URL Shortener

A very basic URL shortener written in Go using Gin, GORM, and SQLite3.

Installation

To run this repository clone it locally.

git clone https://github.com/rayhanadev/go-url-shortener
cd go-url-shortener

Usage

To start the server run the following command:

go run main.go

Afterwards, you can use the following endpoints:

POST /register
POST /login
POST /logout
POST /shorten
GET /:shortUrl

About

A very basic URL shortener written in Go using Gin, GORM, and SQLite3.

Resources

Stars

Watchers

Forks

Languages