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.
- Host: GitHub
- URL: https://github.com/scrachstack/link-shrinker
- Owner: ScrachStack
- License: mit
- Created: 2025-02-19T17:36:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T18:34:00.000Z (over 1 year ago)
- Last Synced: 2025-02-19T18:34:24.224Z (over 1 year ago)
- Topics: app, express, javascript, link, shortener
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Link-Shrinker - Express.js Application
[](https://discord.gg/fivemdev)

> 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!