A simple BE (Node.js with express) and DB (MongoDB) usign puppeteer to shorten url.
[ x ] Post to shorten url [ x ] Save title in mongodb collection [ x ] GET to redirect from shorten to original [ x ] Increase the number each access [ x ] GET to get 100 more accessed url
create a new enpoint with required body:
{
"url": "string"
}Redirect you for a the website relative to this shortner
Get the top 100 most accessed websites
You can just use docker-compose up on the root of the directory or start the backend with npm i && npm run start and run a mongodb aside.