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 🙏

© 2026 – Pkg Stats / Ryan Hefner

faceticket-test-app

v1.0.1

Published

Aplicación de prueba para FaceTicket SDK

Readme

FaceTicket Test App

Esta es una aplicación de prueba para verificar el funcionamiento del SDK de FaceTicket con la API.

Configuración

1. Variables de Entorno

Copia el archivo env.example a .env y configura las variables:

cp env.example .env

Edita el archivo .env con tus credenciales:

# Configuración de la API
REACT_APP_API_URL=http://localhost:3007/api

# Credenciales OAuth (reemplaza con tus valores reales)
REACT_APP_GOOGLE_CLIENT_ID=tu_google_client_id_aqui
REACT_APP_MICROSOFT_CLIENT_ID=tu_microsoft_client_id_aqui
REACT_APP_MICROSOFT_TENANT_ID=tu_microsoft_tenant_id_aqui

2. Configurar OAuth (Opcional)

Para probar la autenticación OAuth, necesitas:

Google OAuth:

  1. Ve a Google Cloud Console
  2. Crea un proyecto o selecciona uno existente
  3. Habilita la API de Google+
  4. Crea credenciales OAuth 2.0
  5. Agrega http://localhost:3000 a los orígenes autorizados
  6. Copia el Client ID al archivo .env

Microsoft OAuth:

  1. Ve a Azure Portal
  2. Registra una nueva aplicación
  3. Configura las URLs de redirección
  4. Copia el Client ID y Tenant ID al archivo .env

Ejecución

1. Asegúrate de que la API esté corriendo

cd ../api
npm start

2. Inicia la aplicación de prueba

npm start

La aplicación se abrirá en http://localhost:3000

Funcionalidades de Prueba

Autenticación por Email

  • Ingresa tu email
  • Recibe un código por email
  • Verifica el código para autenticarte

Autenticación OAuth

  • Google: Click en "Continuar con Google"
  • Microsoft: Click en "Continuar con Microsoft"

Información del Usuario

Una vez autenticado, verás:

  • ID del usuario
  • Nombre
  • Proveedor de autenticación
  • Avatar (si está disponible)

Solución de Problemas

Error de CORS

Si ves errores de CORS, asegúrate de que:

  1. La API esté corriendo en el puerto 3007
  2. El archivo .env tenga la URL correcta de la API

OAuth no funciona

Si OAuth no funciona:

  1. Verifica que las credenciales en .env sean correctas
  2. Asegúrate de que las URLs de redirección estén configuradas
  3. Para desarrollo, puedes probar solo con autenticación por email

API no responde

Si la API no responde:

  1. Verifica que esté corriendo en el puerto 3007
  2. Revisa los logs de la API
  3. Asegúrate de que la base de datos esté configurada correctamente