Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npatta01/url_shortener
https://github.com/npatta01/url_shortener
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/npatta01/url_shortener
- Owner: npatta01
- Created: 2019-05-16T23:22:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:57:19.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T12:43:55.907Z (10 days ago)
- Language: JavaScript
- Size: 283 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Url Shortener
This project is a simple url shortener
## Main Features
- URL Shortening
- Visitor Counting
- Expirable Links
- URL deletion
- Dockerizable## Local Development
```
yarn
npm run start```
## Local Deployment
```
docker build -t shortener .
docker run -p 3005:3005 -it shortener
```## Heroku Deployment
```
APP_NAME="np-url-shortener"heroku create ${APP_NAME}
echo "Deploying to ${APP_NAME}"
heroku container:push web --app ${APP_NAME}
heroku container:release web --app ${APP_NAME}
heroku open --app ${APP_NAME}
heroku logs --tail --app ${APP_NAME}
```