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
- Host: GitHub
- URL: https://github.com/rasbeetech/url-shortener-microservice
- Owner: RasbeeTech
- Created: 2021-06-13T16:45:13.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-14T21:01:17.000Z (about 5 years ago)
- Last Synced: 2025-01-25T10:26:12.959Z (over 1 year ago)
- Topics: api, api-rest, css, expressjs, html, javascript, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]
```