FACE-UI Face Login System: Spring Boot Backend and Vue Frontend Implementation Guide
This article introduces the FACE-UI project, a web‑based face‑login system built with a Spring Boot backend, MySQL database, JWT authentication, and a Vue 2.x frontend, detailing setup steps, code snippets, and configuration of Tencent Cloud facial comparison API.
FACE-UI is a front‑back separated web project that implements face login by capturing a photo via the browser camera, sending it to the backend, and comparing it with a stored face database.
Backend (Spring Boot)
1. Clone the project and import the required JAR dependencies.
2. Execute the MySQL scripts located in the sql folder to create the necessary tables.
3. Configure Tencent Cloud facial recognition service by obtaining secretId and secretKey and adding them to the application.yml file.
4. Run the FaceEasyApplication class to start the backend service.
Frontend (Vue 2.x)
1. After cloning the repository, install dependencies:
npm install
# If you use the Taobao mirror
cnpm install2. Start the development server:
npm run serveThe login page initially captures a face for enrollment; subsequent logins verify the face against the stored data.
Various UI screenshots illustrate the login page, home page, face list CRUD operations, and log list.
Project Addresses
Backend: https://gitee.com/susantyp/face-easy
Frontend: https://gitee.com/susantyp/face-ui
The article concludes with a call to share the content and join the architecture community for further learning.
Java Architect Essentials
Committed to sharing quality articles and tutorials to help Java programmers progress from junior to mid-level to senior architect. We curate high-quality learning resources, interview questions, videos, and projects from across the internet to help you systematically improve your Java architecture skills. Follow and reply '1024' to get Java programming resources. Learn together, grow together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.