/anonurl-api-outdated

API from AnonURL website, an anonymous URL shortener

Primary LanguageJavaScript

AnonURL API

FrontEnd repository

Discord BOT (Upcoming)

📖 Summary

Changelog
Used technologies
Endpoints
Setup


♻️ Changelog (v1.0.0)

  • Initial commit


⚙️ Used technologies:

  • NodeJS
  • Express
  • 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

Install all dependencies:

npm install

Build:

npm run build

Run (Build):

npm run start:build

Run (Dev):

npm run start