A URL shortener built using Go for the server, and HTML/CSS for the user interface. This project allows you to create shortened versions of long URLs, making them more convenient to share and manage. Check It Out Live!
- Shorten long URLs into user-friendly and compact links.
- Redirect users to the original URLs when they access the shortened links.
- Track the number of times each shortened link is accessed.
- Go: Server-side logic and URL shortening
- HTML: User interface structure
- CSS: Styling and design
Follow these steps to get the URL shortener up and running on your local machine.
- Go installed on your system
- Basic understanding of Go, HTML, and CSS
-
Clone the repository:
$ git clone https://github.com/yourusername/url-shortener.git $ cd url-shortener
-
Install dependencies
$ go mod tidy $ go get
-
Compile and Run
$ go build $ ./url-shortener
Requires "docker-compose" to work
-
Build and Run from Docker Compose
$ docker-compose up --build