A simple URL shortening service that allows you to create short, memorable links for long URLs.
The frontend for this project can be found here
- Generate short links from long URLs
- Customize the short link with your own desired text
- View click statistics for each short link
- Go
- MongoDB
- Clone the repository:
git clone https://github.com/Stepashka20/URL-shortener-server.git
- Install dependencies:
go get
- In MongoDB create a new db
urls
and collectionshorturls
- Copy
.env.example
to.env
and update the database connection details - Start the server:
go run main.go
This project is licensed under the MIT License.