https://github.com/adfinis/node-url-urlshortener
Simple node app for an URL shortener service
https://github.com/adfinis/node-url-urlshortener
bitly nodejs url url-shortener
Last synced: about 1 year ago
JSON representation
Simple node app for an URL shortener service
- Host: GitHub
- URL: https://github.com/adfinis/node-url-urlshortener
- Owner: adfinis
- License: gpl-3.0
- Created: 2017-11-01T13:16:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T21:18:07.000Z (about 2 years ago)
- Last Synced: 2025-04-17T18:22:55.846Z (about 1 year ago)
- Topics: bitly, nodejs, url, url-shortener
- Language: JavaScript
- Homepage:
- Size: 343 KB
- Stars: 2
- Watchers: 11
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# URLShortener
Simple node app for an URL shortener service.
It creates URLs like https://ad-sy.ch/b
## Screenshots
## Installation
```
# adduser urlshortener
# git clone git@github.com/adfinis/node-url-urlshortener /var/www/urlshortener
# chown urlshortener:urlshortener /var/www/urlshortener/
# cd /var/www/urlshortener
# mysql urlshortener < db/create.sql
# vim db.js # <- adjust username and password
# su - urlshortener
$ cd /var/www/urlshortener
$ npm install
$ pm2 start --name=urlshortener npm -- start
```
## Usage
Pretty self-explanatory, go to yoururl.tld/admin for creating a new URL.


