A simple Go URL Shortner API using Gin framework for managing resources.
This API provides a basic URL Shortner interface for managing URLs. It is built using the Go programming language and the Gin web framework.
Before you begin, ensure you have met the following requirements:
- Go installed (version 1.21)
- Git installed
- Gin installed (used for routing)
- or Simply enter
go mod tidy
in console, to install all dependencies.
-
Clone the repository:
git clone https://github.com/sameergaikwad222/urlshortner.git cd urlshortner
-
Install All Dependencies
go mod tidy
-
Set Configuration File. (path can be found in .gitignore file) Set Config File name as given in .gitignore and set all values accordingly
-
Build & Run the API
go run main.go
Contributions are welcome! Please fork the repository and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.