Linkify

Slide 0 of 0
(swipe on mobile)
A URL shortener with basic analytics, built with htmx. Users can shorten their URLs, and view the number of clicks on their shortened URLs. The app is built with htmx, Redis, and ExpressJS as the backend, deployed on Fly.io. Redis was chosen as the database as it is an in-memory database, and is very fast for read operations, decreasing latency when querying database before user redirection. All of "My links" are stored in cookies, and the "My links" section will continuously poll the Express server, attaching the cookies as with any HTTP request, where the server will then process the cookies, and return the HTML with the view count retrieved from the Redis database.
Tip: More information on the project is on its Github repo. Please check it out.