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

https://github.com/scrachstack/link-shrinker

Shortens Links Saves Data by Cookies and SQL.
https://github.com/scrachstack/link-shrinker

app express javascript link shortener

Last synced: about 2 months ago
JSON representation

Shortens Links Saves Data by Cookies and SQL.

Awesome Lists containing this project

README

          





Link-Shrinker - Express.js Application




[![Discord](https://img.shields.io/badge/Discord-Support-5865F2?style=flat&logo=discord&logoColor=white)](https://discord.gg/fivemdev)

![dtv1j6](https://github.com/user-attachments/assets/800dec14-f69c-4f15-b3ca-50d759920a1c)

> Surrealdb support coming soon

## Reqirements

- Node.js **v16** or **Higher** is required.
- LEMN Stack
- A LEMN stack is a group of programs that will be the core operators for our website.

L inux

E ngine-X (but written as Nginx)

M ySQL Database

N odeJs
- Nginx
```
sudo apt update
sudo apt install nginx
```
You will be prompted to press Y to install Nginx, do this.

Once Nginx is installed you should be able to navigate to your servers IP and you should be presented with the below page.

Your Server IP
http://127.0.0.1

> /etc/nginx/sites-available/default
```

server {

server_name yourdomain.com; # Change domain to your domain

location / {
proxy_pass http://localhost:3000; # Change the port if needed.
proxy_http_version 1.1;
proxy_set_header X-Real-IP $remote_addr;
}
}
```
> Make sure to edit the ``.env`` file port if you are all ready running an app on 3000 and the above!