An open API service indexing awesome lists of open source software.

https://github.com/rasbeetech/url-shortener-microservice

Api microservice for shortening URLs
https://github.com/rasbeetech/url-shortener-microservice

api api-rest css expressjs html javascript mongodb mongoose nodejs

Last synced: 3 months ago
JSON representation

Api microservice for shortening URLs

Awesome Lists containing this project

README

          

# URL-Shortener-Microservice
Api microservice for shortening URLs

### Examples usage:
```
POST [project url]/api/shorturl - https://www.google.com
```
OR
```
[this_project_url]/api/shorturl/0
```
### Returns:
```
{"original_url":"https://www.google.com","short_url":0}
```
OR
```
[Redirects to: https://www.google.com]
```