Authvents is an event booking platform built with Svelte that integrates FACEIO for secure, facial-recognition-based authentication. Authvents allows users to log in and access event ticket dashboards with biometric verification.
- Biometric Authentication: Facial recognition login with FACEIO.
- Anti-Spoofing: Robust measures against spoofing attempts.
- Event Dashboard: Accessible only to authenticated users.
- Node.js & npm (for package management).
- FACEIO account - Sign up to get your app credentials.
- Basic knowledge of JavaScript and Svelte.
-
Clone the repository:
git clone https://github.com/Tabintel/authvents.git cd authvents
-
Install dependencies:
npm install
-
Set up Environment Variables: Create a
.env.local
file in the project root and add:PUBLIC_FACEIO_PUBLIC_ID=your_faceio_app_id_here PUBLIC_FACEIO_PUBLIC_KEY=your_faceio_api_key
Replace with your FACEIO credentials.
-
Install Tailwind CSS (optional for styling):
npm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p
-
Run the App:
npm run dev
Open http://localhost:3000 in your browser to view the app.
- Sign Up with an email and password.
- Login: Access the dashboard and authenticate with FACEIO.
- View Tickets: Authenticated users can view event ticket information.
- Create a FACEIO Application in your FACEIO Console.
- Note your App ID and API Key.
- Choose PixLab Insight as the Facial Recognition Engine for enhanced security.
src/routes/
- Contains Svelte routes and components.src/routes/+page.svelte
- Home page with login functionality.src/routes/dashboard/+page.svelte
- Protected dashboard with FACEIO integration.