Platforms
Web, API
Auth
JWT + refresh
Code
Public on GitHub

The challenge

Authentication is where most apps leak. The goal was an API where tokens expire, refresh safely and never expose passwords.

What was built

  • JWT access and refresh tokens, bcrypt-hashed passwords
  • Notes API on MongoDB with a React front end
  • The same API rebuilt in FastAPI with background jobs

Engineering decisions

The parts that make it hold up in real use

Short-lived access, long-lived refresh

Access tokens expire quickly and refresh tokens rotate, so a leaked token is only useful for minutes.

Stack

KotlinSpring BootSpring SecurityMongoDBReactFastAPI

Need a product built this carefully?

Share a few details and you'll get a reply within 24 hours: honest advice, a rough range, and the next step.