Categorygithub.com/anonurl/anonurl-api
modulepackage
1.0.1
Repository: https://github.com/anonurl/anonurl-api.git
Documentation: pkg.go.dev

# README

AnonURL API

FrontEnd repository

📖 Summary

Changelog
Used technologies
Endpoints
Setup


♻️ Changelog (v1.0.1)

  • Fixed API calls


⚙️ Used technologies:

  • Golang
  • MongoDB


🔌 Endpoints

/api/create (POST): To create shorted URLs
/api/track/ID (GET): To get basic information of a shorten URL
/api/redirect/ID (GET): To get information of redirect to shorted URL
/api/report (POST): To send a report


🔧 Setup

Clone this repository:

git clone https://github.com/anonurl/anonurl-api

Move to repository:

cd anonurl-api

Configurate:

  • Add your Mongo URI to "MONGO_URI" on enviroments variables
  • Add a port to "PORT" enviroment variable

Install all dependencies:

go get

Run:

go run main.go

# Packages

No description provided by the author
No description provided by the author