(ongoing)
This project is a simple URL Shortener API built with Go.
It demonstrates backend API design, HTTP routing, and containerization using Docker.
The goal is to provide a practical learning example of building and deploying a RESTful Go service from scratch.
The Go URL Shortener is a RESTful web service that allows users to:
- Shorten a long URL into a shorter unique code
- Redirect from the short URL back to the original one
- (Planned) Store URLs persistently using a lightweight SQLite database
At this stage, the project runs a basic Go HTTP server, which will be expanded to handle real API logic and Dockerized deployment.
- Language: Go (Golang)
- Database: SQLite (planned)
- Containerization: Docker (in progress)
- Version Control: Git + GitHub
-
Clone this repository:
git clone https://github.com/SanjeevHegde14/go-url-shortener.git cd go-url-shortener -
Run the API:
go run cmd/api/main.go
-
Open your browser and visit: http://localhost:8080