Key Ideas
1bcrypt.hash(). One-way hashes a password.
2bcrypt.compare(). Verifies a password against its hash.
3jwt.sign(). Creates a signed token with an expiry.
4jwt.verify(). Validates a token's signature.
5JWT_SECRET. Must live in env vars, never in code.