2s1-webshortener | The shortener from 2s1.xyz
Copy the files (style.css , index.html , createurl.php , showclicks.php , showclicks.index Folder r)
In your web directory
Copy the API folder in your root folder go in the api folder and run this command
npm install
Create a new mysql database and import the
database.sql
After this change the settings from the api in this file
config.json
To run the api use
pm2 start app.js --name UrlShort --cron-restart="0 0 * * *"
after done this you can use your shortener