A URL shortening service built using Go and Redis, designed to create and manage shortened URLs efficiently.
- Fast and Reliable: Leverages Go's performance and Redis' speed for quick URL redirection.
- Easy to Deploy: Dockerized setup for straightforward deployment.
- Scalable: Designed to handle high traffic and large volumes of URL shortening requests.
- Docker installed on your machine.
-
Clone the repository:
git clone https://github.com/mohit-nagaraj/url-shortner.git cd url-shortner
-
Create a
.env
file in theapi
folder with the following information:DB_ADDR="" DB_PASS="" APP_PORT=":xxxx" DOMAIN="xxxx:yyyy" API_QUOTA=number
Start the project using Docker Compose:
docker-compose up -d
Once the project is running, you can start creating and managing shortened URLs through the provided API endpoints.
Contributions are welcome! Please fork the repository and open a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.