auth-flow

Automate login and registration workflows with bcrypt password hashing.

1|1|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/DriveConnect-alpha/DriveConnect --skill auth-flow-driveconnect-alpha
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auth-flow
Source: https://github.com/DriveConnect-alpha/DriveConnect/tree/main/.agent/skills/auth-flow
Command: npx skills add https://github.com/DriveConnect-alpha/DriveConnect --skill auth-flow-driveconnect-alpha

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Auth Flow skill provides a structured approach to implementing and modifying the login and registration flow for ReservAqui's backend, covering user and host registration, bcrypt-based password hashing, and session/token management, enabling end-to-end CRUD of auth entities.

Core Features & Use Cases

  • 3-layer architecture (Entity → Service → Controller) with validation and middleware separation.
  • Multi-tenant PostgreSQL architecture: master DB for global users and hosts, tenant DB for hotel guests.
  • Strong validation and security practices including bcrypt hashing, input validation, and auth middleware enforcement.
  • Trigger keywords and workflow guidance for auth-related changes and maintenance.

Quick Start

Register or modify the login/registration workflow in the ReservAqui backend across usuario and anfitriao domains, including bcrypt hashing and session management.

Frequently Asked Questions about auth-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement authentication and registration with bcrypt in a multi-tenant PostgreSQL app?▼

Multi-tenant authentication with bcrypt separates global user and host registration in a master PostgreSQL database from tenant guest data, enforcing session management and input validation across entity, service, and controller layers.

What's the best way to structure Express authentication middleware for TypeScript?▼

Structuring Express authentication middleware in TypeScript involves enforcing auth checks across a three-layer architecture, separating validation logic within entity classes, and standardizing session and token management workflows for secure access control.

Can I use bcrypt for password hashing across multiple PostgreSQL tenant databases?▼

You can use bcrypt for password hashing across multiple PostgreSQL tenant databases by standardizing the registration workflow for global users in a master database while maintaining separate tenant databases for hotel guests.

How does multi-tenant authentication separate global users from tenant guests?▼

Multi-tenant authentication separates global users from tenant guests by operating a master PostgreSQL database for worldwide user and host registration, while routing guest-specific data to distinct tenant databases.

Does Express multitenancy require separate databases for hosts and hotel guests?▼

Express multitenancy for this architecture requires a master PostgreSQL database for global users and hosts, alongside separate tenant databases specifically for hotel guests, ensuring isolated data management.