Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/npatta01/url_shortener


https://github.com/npatta01/url_shortener

Last synced: 5 days ago
JSON representation

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}
```