npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@tzeik/securepass-backend

v5.0.0

Published

_Aplicación backend Secure Pass._

Downloads

8

Readme

🏠 Sistema de Gestión de Visitantes para Residencias

Aplicación backend Secure Pass.

🚀 Tecnologías A Utilizar

  • Backend: Node.js + Express
  • Base de datos: MongoDB Atlas
  • Autenticación: JWT (JSON Web Token)
  • Almacenamiento: Cloudinary / File System
  • Notificaciones: Nodemailer (Emails)
  • Generación de QR: qr-image o node-qrcode

📌 Funcionalidades Principales

| Módulo | Endpoints/Features | |----------------------|------------------------------------------------| | Autenticación | Registro, login, roles (residente/guardia/admin) | | Visitas | Autorizaciones, entradas/salidas, validación QR | | Imágenes | Subida de fotos de vehículos/visitantes | | Reportes | Historial de visitas y generación de PDFs |

🤝 Cómo Contribuir

• Haz un Fork del proyecto en github

• Clonar el repositorio forkeado:

$git clone https://github.com/tu-usuario/repositorio-forkeado.git

• Ubicate en el directorio del repositorio forkeado:

$cd directorio-repositorio

• Instala las dependencias dentro de la carpeta 'backend':

$cd backend
$npm install # Instalar dependencias configuradas en el package.json
$cd ..  # vuelve al directorio anterior

• Configura el repositorio original como 'upstream':

$git remote add upstream https://github.com/usuario-original/repositorio.git
$git remote -v  # verifica los git remotos

• Crea una rama en tu repositorio local:

# En nuestro caso, por ejemplo:

$git checkout -b feature/<tu rama> # rama para realizar push al repositorio
$git checkout -b dev/<tu rama> # trabajaras aqui

# Recuerda utilizar los nombres sugeridos en nuestro grupo.

• Verifica las ramas del repositorio local y remoto

$git branch -a # verifica todas las ramas (locales y remotas)
$git status # verifica el estado de los archivos en el repo

• Sincroniza tu rama con la del repositorio original:

$git checkout master
$git fetch upstream # Para sincronizar con el repositorio remoto original
$git merge upstream/master

# Si quieres que tu rama feature tambien obtenga los cambios haz:

$git checkout feature
$git merge master  # Si ya actualizaste master (local)

• Sube tus cambios al repositorio remoto desde tu rama:

# Desde tu rama dev/<mi-rama> realiza:

$git add .
$git commit -m "mi cambio en feature"
$git checkout feature/<mi-rama> # cambia a tu rama feature
$git merge dev/<mi-rama> # haz un merge de tu rama de trabajo a la rama feature

$git push origin feature/<tu rama>

# O puedes hacer

$git push -u origin feature/<tu rama>

# Para setear el upstream y simplemente realizar un `$git push` para los siguientes push

🔄️ Mantener sincronizado el repositorio y trabajar

Traer cambios desde el repositorio original

• Desde tu rama local master:

$git checkout master
$git fetch upstream   # para obtener los ultimos cambios
$git rebase upstream/master

• Actualiza tu fork en github

$git push origin master

Actualizar mi rama feature desde mi rama master

• Primero Trae los cambios desde el repositorio original.

Realiza los pasos del acápite anterior

• Ubicate en tu rama feature y actualiza

$git checkout feature/<mi-rama>
$git rebase master

Subir cambios y Pull Requests

• Una vez hayas trabajado en tu rama dev y desees subir los cambios de tu rama:

$git status # comprueba los cambios
$git add .
$git commit -m "mis cambios"
$git checkout feature/<mi-rama>
$git merge dev/<mi-rama>
$git push origin feature/<mi-rama>  # para subir los cambios al repositorio fork

• Al haber hecho esto podras realizar un Pull Request (PR):

# Desde github, ve a tu repositorio forkeado, ve a tu rama con cambios y realiza un PR (Pull Request).
Este debería aparecer como un botón verde.

# Una vez este todo libre de conflictos, desde tu rama. Realiza un PR a la rama master
del repositorio original. Tus cambios serán revisados y aceptados o rechazados.