SecureAuth is a web application that demonstrates passwordless authentication using WebAuthn technology. It allows users to sign up and log in using their device's biometric sensors (like fingerprint or face ID) or a security key.
- Passwordless Authentication: No passwords to remember or steal.
- Enhanced Security: Biometric data never leaves the user's device.
- Cross-Platform: Works on any device that supports the WebAuthn standard.
- Easy to Use: Simple and intuitive user interface.
- Node.js: JavaScript runtime environment.
- Express: Web framework for Node.js.
- @simplewebauthn/server: Library for WebAuthn authentication.
- CORS: Middleware for handling Cross-Origin Resource Sharing.
- Cookie-Parser: Middleware for parsing cookies.
- Vite: Build tool for modern web applications.
- @simplewebauthn/browser: Library for interacting with the WebAuthn API in the browser.
- HTML, CSS, JavaScript: Standard web technologies.
- Node.js (v14 or later)
- A modern web browser that supports WebAuthn (e.g., Chrome, Firefox, Safari)
-
Clone the repository:
git clone https://github.com/MohammedMogeab/finger-print.git cd finger-print -
Install backend dependencies:
cd api npm install -
Install frontend dependencies:
cd ../client npm install
-
Start the backend server:
cd api npm run devThe server will start on
http://localhost:3000. -
Start the frontend development server:
In a new terminal, navigate to the
clientdirectory:cd client npm run devThe application will be available at
http://localhost:5173. -
Open the application in your browser:
Navigate to
http://localhost:5173to use the application.
This project was created by Mohammed Mogeab.
- GitHub: @MohammedMogeab
- X (Twitter): @MohammedMogeab