Skip to content

PaulAroo/auth_system

Repository files navigation

Authentication System 🔐

  • built with ExpressJs , JWTs and NodeJs

API Routes

  • Register (/api/register) register route usage example

  • Login (/api/login) login route usage example

  • Logout (/api/logout) logout route usage example

  • Password Reset Request (/api/password-reset-request) password reset request route usage example password reset request mail

  • Password Reset (/api/passwordReset) password reset mail

  • Get Users (/api/auth/user) user route usage example

  • Get Staffs (/api/staff) staff route usage example

  • Get Managers (/api/manager) manager route usage example

  • Get Admin (/api/admin) admin route usage example

Continued Development

  • Properly modularize code (more utils and middlewares)
  • Implement more robust error handling

Useful Resources

Implementing a secure password reset in Node.js