Routinly
← Back to ProjectsFeatured

Routinly

Forge an Ironclad Routine

Next.js 15TypeScriptTailwindCSSAuth.jsPostgreSQL

Overview

Built a full-stack habit tracking platform focused on behavioral retention through gamification. Users build consistent routines using XP systems, streak tracking, and progression mechanics with a science-backed 21-day challenge framework.

Routinly

Key Contributions

Routinly detail

Engineering Deep Dive

The XP system uses a logarithmic progression curve — early levels come fast to hook users, while later levels require sustained consistency. Streak decay logic handles timezone changes using UTC-normalized timestamps with a configurable grace period. The PostgreSQL schema uses denormalized reads with normalized writes, achieving sub-100ms dashboard API responses.

Routinly architecture

Challenges

  • Streak recalculation logic with timezone edge cases
  • Optimizing server-client data flow for real-time XP updates
  • Balancing gamification engagement without feeling gimmicky

Learnings

  • PostgreSQL schema design for time-series habit data
  • Server-side rendering optimization with Next.js 15
  • Behavioral design principles for user retention

Live Preview

https://routinly-ten.vercel.app/home
Open ↗
Next →
AlgoVision