goshort

command module
v0.0.0-...-a481ea3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 5 Imported by: 0

README

GoShort

License Go Version Actions GoReport
MIT License Go Version Tests
Build
Go Report Card

Yet another URL shortener made in Go.
A hobby project of me that I made for improving my coding skills.
GoShort on Render.

Tech Stack

Server:

  • Go (used net/http and chi)
  • PostgreSQL (production) and SQLite3 (dev and tests)

Client:

  • Pure JS
  • HTML5
  • CSS (TailwindCSS)

Features

  • URL Shortening
  • URL Shortening with a custom short URL
  • Getting original URL from a short URL

To-Do

  • Expire able Links
  • A good icon/logo
  • Extensions for browsers

API Reference

Shorten URL
  POST /api/v3/shorten
Parameter Type Description
url string Required. URL to shorten.
custom string Optional Custom short URL
Get Original URL
  POST /api/v3/getOrigin
Parameter Type Description
url string Required. Short URL.

Screenshots

App Screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL