All projects

DevJournal

A learning journal with public and private journeys, spaced-repetition reviews and a paid Pro plan.

  • Next.js 16
  • MongoDB
  • Google OAuth
  • GitHub OAuth
  • JWT
  • Razorpay
  • Groq
  • Mermaid

The source is private.

Architecture

A Next.js 16 application on MongoDB. Sign-in is Google or GitHub OAuth with JWT sessions. Entries belong to journeys that are public or private, each user has an @username profile, and individual entries have shareable links. Follows drive notifications. A spaced-repetition scheduler brings entries back for review and feeds the streak and heatmap. Entries are Markdown with tables and Mermaid diagrams. Groq formats entries and generates tags. The Pro plan is billed through Razorpay.

Key decisions

1. OAuth only, with JWT sessions

Decision. Sign-in is Google or GitHub OAuth, with JWT sessions and no passwords.

2. Public and private journeys

Decision. Journeys are public or private, with shareable entry links and @username profiles.

3. Groq for formatting and tags

Decision. Groq formats entries and generates tags.