A full-stack face detection application that uses AI to identify faces in images, with real-time visual feedback and persistent user tracking.
- 👉 Frontend Repo: facerecognitionbrain
- 👉 Backend API: facerecognitionbrain-api
- 👉 Live Demo: smart-brain-app-32fac457676f.herokuapp.com
Watch the project walkthrough on Vimeo:
This isn’t just a UI demo — it demonstrates full-stack development across the entire request lifecycle:
- Building a responsive React frontend
- Designing and consuming RESTful APIs
- Implementing authentication flows
- Persisting user data with PostgreSQL
- Integrating a third-party AI service (Clarifai)
- Managing environment-based configuration for deployment
- Real-time face detection using an external AI model
- Full authentication system with persistent user tracking
- End-to-end data flow: client → server → third-party API → UI
- Dynamic bounding box rendering based on image analysis
- Separation of concerns between frontend and backend services
- Users can register and sign in securely
- Submit an image URL for processing
- Detect a face within the image using AI
- Render a bounding box around the detected face
- Track how many images each user has processed
- React 19 – component-based UI and state management
- Vite – fast development server and optimized builds
- JavaScript (ES6+)
- Tachyons – utility-first CSS for rapid styling
particles-bg,react-parallax-tilt– UI enhancements
- Node.js + Express – REST API and server logic
- PostgreSQL – relational database for user data
- Knex – SQL query builder
- bcryptjs – password hashing and authentication
- Clarifai API – face detection model
- User submits credentials or an image URL
- Backend validates request and interacts with PostgreSQL
- Image URL is sent to Clarifai for face detection
- Clarifai response is returned to the backend
- Frontend calculates bounding box coordinates
- UI renders detected face and updates user entry count
POST /register– create new userPOST /signin– authenticate userPOST /imageurl– process image via ClarifaiPUT /image– update user entry countGET /profile/:id– retrieve user profile
cd ../facerecognitionbrain_api
npm installCreate .env:
CLARIFAI_PAT=your_clarifai_pat
DB_HOST=127.0.0.1
DB_PORT=5432
DB_NAME=smart-brain
DB_USER=your_postgres_user
DB_PASSWORD=your_postgres_password
PORT=3001Run:
npm run devnpm installCreate .env:
VITE_API_URL=http://localhost:3001Run:
npm run dev- Full-stack application architecture (client + server separation)
- Authentication and secure password handling
- Database integration and persistent state
- Third-party API integration and data transformation
- Translating backend data into dynamic UI visuals
- Environment configuration for local and deployed setups
- Add screenshots or demo GIF for quick visual context
- Deploy frontend + backend for live demo
- Add loading, empty, and error states
- Support multiple face detections per image
- Add automated tests for auth and API flows
- Document database schema and migrations
I’m a full-stack developer focused on building real-world applications that integrate APIs, databases, and modern frontend frameworks.
I’m actively seeking junior full-stack, frontend, or software engineering roles (remote-friendly).
👉 Let’s connect on LinkedIn 👉 Explore more projects on my GitHub