Skip to content

Simple and efficient URL shortener app written in Go

License

Notifications You must be signed in to change notification settings

wawandco/cortico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corty.co 🩳

Corty.co is a simple and efficient URL shortener app written in Go. It allows users to shorten long URLs into concise, easy-to-share links.

Features

  • Shorten URLs: Convert long URLs into short, shareable links.
  • Redirects: Redirects users to the original URL when the short link is accessed.

This is using the The LeapKit template with Postgres.

Installation

Clone the repository

$ git clone https://github.com/wawandco/cortico.git
$ cd cortico

Setup

$ go mod download
$ go run ./cmd/setup

Running the application

To run the application in development mode execute:

$ kit s

And open http://localhost:3000 in your browser.

ENV Variables

DATABASE_URL
BASE_URL