Changelog
Used technologies
Endpoints
Setup
- Fixed API calls
- Golang
- MongoDB
/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
git clone https://github.com/anonurl/anonurl-api
cd anonurl-api
- Add your Mongo URI to "MONGO_URI" on enviroments variables
- Add a port to "PORT" enviroment variable
go get
go run main.go