/url-shortener

url shortener written in golang and htmx

Primary LanguageGo

Url Shortener

  • Built with Golang&HTMX

Getting started

  • You need to have Go installed on your system

        brew install go
  • Clone repository

      git clone https://github.com/mscandan/url-shortener.git
  • Download dependencies

      go mod download
  • Create database on MongoDB Atlas

  • Create Redis instance on Render or the provider of your choice

  • Create and set environment variables in .env file

      touch .env
  • Start development server

      go run .