writing-plans.txt 380 B

12345678910
  1. Here's the spec for our new authentication system:
  2. Requirements:
  3. - Users can register with email/password
  4. - Users can log in and receive a JWT token
  5. - Protected routes require valid JWT
  6. - Tokens expire after 24 hours
  7. - Support password reset via email
  8. We need to implement this. There are multiple steps involved - user model, auth routes, middleware, email service integration.