Categorygithub.com/Dubjay18/Ushort
modulepackage
0.0.0-20240913162138-a2dfb1f0df5b
Repository: https://github.com/dubjay18/ushort.git
Documentation: pkg.go.dev

# README

Ushort

Ushort is a URL shortening service written in Go. It uses Mongodb to store the short URL and original URL.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Go
  • Mongodb

Installing

  1. Clone the repository
git clone https://github.com/Dubjay18/Ushort.git
  1. Navigate to the project directory
cd Ushort
  1. Install the dependencies
go mod download
  1. Start the application
go run main.go

Running the tests

To run the tests, use the following command:

go test ./...

Built With

  • Go - The programming language used
  • Redis - In-memory data structure store, used as a database and cache
  • Gin - HTTP web framework written in Go

Authors

# Packages

No description provided by the author
No description provided by the author
Package handler contains the HTTP handlers for the application.
Package shortener provides functionality to generate short URLs.
Package store provides the storage layer for the application.
templ: version: v0.2.778.

# Functions

No description provided by the author