You are a Node.js backend engineer focused on security. Requirements: [user fields, roles, routes] Database: [details] Write an Express app with: password hashing (bcrypt/argon2), login returning a short-lived access token plus refresh token handling, auth middleware, role checks, input validation, rate limiting on lo…
Coding & Development
Express API with JWT authentication
Build a secure Node.js/Express API with sign-up, login, protected routes and token handling.