<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Raji Ridwan Olamilekan</title>
    <description>The latest articles on DEV Community by Raji Ridwan Olamilekan (@horlahdev).</description>
    <link>https://dev.to/horlahdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4204453%2Fc239a3b5-3ce6-4cba-a178-5eeb5748dc8d.jpg</url>
      <title>DEV Community: Raji Ridwan Olamilekan</title>
      <link>https://dev.to/horlahdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/horlahdev"/>
    <language>en</language>
    <item>
      <title>Building My First Full-Stack Face Recognition App: The Journey, Challenges, Bugs, and Lessons Learned</title>
      <dc:creator>Raji Ridwan Olamilekan</dc:creator>
      <pubDate>Sat, 21 Nov 2026 17:15:48 +0000</pubDate>
      <link>https://dev.to/horlahdev/building-my-first-full-stack-face-recognition-app-the-journey-challenges-bugs-and-lessons-203c</link>
      <guid>https://dev.to/horlahdev/building-my-first-full-stack-face-recognition-app-the-journey-challenges-bugs-and-lessons-203c</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmn0yp7cskdxbfuo9vb54.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmn0yp7cskdxbfuo9vb54.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3ivce1t8gbehkudgdk63.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3ivce1t8gbehkudgdk63.jpeg" alt=" " width="800" height="600"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F23qtiw07dhdcut5tyapk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F23qtiw07dhdcut5tyapk.png" alt=" " width="799" height="363"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F99njh4pms6mc8wf3tr4i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F99njh4pms6mc8wf3tr4i.png" alt=" " width="800" height="362"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2rx83lty0n1793czyw4c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2rx83lty0n1793czyw4c.png" alt=" " width="800" height="454"&gt;&lt;/a&gt;&lt;strong&gt;I started with an idea. I ended up learning much more about frontend development, backend development, authentication, APIs, debugging, and deployment than I expected.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every developer has a project that pushes them beyond what they already know.&lt;/p&gt;

&lt;p&gt;For me, that project was my Face Recognition App.&lt;/p&gt;

&lt;p&gt;When I started, I wanted to build an application where users could submit an image and have faces detected in it. It sounded like an interesting React project, but I didn't want to stop at building just the interface.&lt;/p&gt;

&lt;p&gt;I wanted to understand what happens behind the scenes too.&lt;/p&gt;

&lt;p&gt;How does the frontend communicate with a backend? How does authentication work? How do we protect API routes? How do we handle requests and responses? How do we connect an external face-detection technology to an application?&lt;/p&gt;

&lt;p&gt;These questions became part of my development journey.&lt;/p&gt;

&lt;p&gt;This article is about the entire experience: the planning, frontend development, backend implementation, authentication, face detection, debugging, deployment, and the lessons I learned along the way.&lt;/p&gt;

&lt;p&gt;Let's get into it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The idea: More than just another React project
&lt;/h2&gt;

&lt;p&gt;After spending time learning JavaScript and React, I wanted to challenge myself with something that would require me to think about the entire application.&lt;/p&gt;

&lt;p&gt;I didn't want to build another frontend project that simply displayed information.&lt;/p&gt;

&lt;p&gt;I wanted to build something that involved both the client side and the server side.&lt;/p&gt;

&lt;p&gt;That's how the Face Recognition App started.&lt;/p&gt;

&lt;p&gt;The idea was to create an application where users could interact with the system, submit image URLs, and have faces detected in the submitted images.&lt;/p&gt;

&lt;p&gt;I also wanted to introduce authentication so users could have an account and access the application through a proper sign-in process.&lt;/p&gt;

&lt;p&gt;The project gave me an opportunity to explore several important areas of web development:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend development with React.&lt;/li&gt;
&lt;li&gt;Backend development with Node.js and Express.&lt;/li&gt;
&lt;li&gt;API communication.&lt;/li&gt;
&lt;li&gt;Authentication and authorization.&lt;/li&gt;
&lt;li&gt;JWT-based protected routes.&lt;/li&gt;
&lt;li&gt;Face detection with Human.js.&lt;/li&gt;
&lt;li&gt;Error handling and validation.&lt;/li&gt;
&lt;li&gt;Deployment and production configuration.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I knew there would be challenges, but I was ready to learn through building.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Choosing the technology stack
&lt;/h2&gt;

&lt;p&gt;I wanted a stack that would allow me to work on both frontend and backend development.&lt;/p&gt;

&lt;p&gt;Here are the main technologies and tools I worked with:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;React&lt;/td&gt;
&lt;td&gt;Frontend application&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vite&lt;/td&gt;
&lt;td&gt;Development environment and build tool&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JavaScript&lt;/td&gt;
&lt;td&gt;Application logic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CSS&lt;/td&gt;
&lt;td&gt;Styling and responsive interface&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Node.js&lt;/td&gt;
&lt;td&gt;Backend runtime&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Express.js&lt;/td&gt;
&lt;td&gt;Backend server and API routes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;JSON Web Token (JWT)&lt;/td&gt;
&lt;td&gt;Authentication and protected routes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human.js&lt;/td&gt;
&lt;td&gt;Face detection&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Postman&lt;/td&gt;
&lt;td&gt;Testing backend API endpoints&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Git and GitHub&lt;/td&gt;
&lt;td&gt;Version control and project management&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Working with these technologies helped me understand that a full-stack application is not just a frontend connected to a server.&lt;/p&gt;

&lt;p&gt;Every part has a responsibility, and those parts need to communicate correctly.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Building the frontend with React
&lt;/h2&gt;

&lt;p&gt;I started with the frontend because I wanted to establish how users would interact with the application.&lt;/p&gt;

&lt;p&gt;I used React with Vite and divided the interface into reusable components.&lt;/p&gt;

&lt;p&gt;Some of the components I worked on included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigation&lt;/li&gt;
&lt;li&gt;Logo&lt;/li&gt;
&lt;li&gt;ImageLinkForm&lt;/li&gt;
&lt;li&gt;Rank&lt;/li&gt;
&lt;li&gt;FaceRecognition&lt;/li&gt;
&lt;li&gt;Authentication forms&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to avoid putting the entire application inside one component.&lt;/p&gt;

&lt;p&gt;Instead, I worked on separating responsibilities and passing information between components using props.&lt;/p&gt;

&lt;p&gt;I also used React state to manage things such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The image URL submitted by the user.&lt;/li&gt;
&lt;li&gt;The currently displayed image.&lt;/li&gt;
&lt;li&gt;Error messages.&lt;/li&gt;
&lt;li&gt;The scanning state.&lt;/li&gt;
&lt;li&gt;Authentication-related interface states.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This helped me understand how different components work together to create a complete application.&lt;/p&gt;

&lt;h3&gt;
  
  
  Making the interface more interactive
&lt;/h3&gt;

&lt;p&gt;I didn't want the application to look too basic.&lt;/p&gt;

&lt;p&gt;I worked with regular CSS to style the interface and experimented with additional libraries.&lt;/p&gt;

&lt;p&gt;I integrated &lt;code&gt;react-parallax-tilt&lt;/code&gt; to give the logo a 3D effect.&lt;/p&gt;

&lt;p&gt;I also used &lt;code&gt;@tsparticles/react&lt;/code&gt; and &lt;code&gt;@tsparticles/slim&lt;/code&gt; to create animated background particles.&lt;/p&gt;

&lt;p&gt;These were small details, but they helped me explore how external libraries can improve the user experience.&lt;/p&gt;

&lt;p&gt;One thing I learned was that installing a package doesn't always mean everything will work immediately. Package versions, compatibility, and configuration can introduce problems of their own.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Connecting the frontend to the backend
&lt;/h2&gt;

&lt;p&gt;This was one of the most important parts of the project for me.&lt;/p&gt;

&lt;p&gt;I wanted to understand what happens when a React application communicates with a server.&lt;/p&gt;

&lt;p&gt;I created a backend using Node.js and Express.&lt;/p&gt;

&lt;p&gt;The backend ran separately from the Vite development server, using port 3001, while my frontend ran on port 5173.&lt;/p&gt;

&lt;p&gt;This meant I had to understand how the two environments communicate.&lt;/p&gt;

&lt;p&gt;I worked with Express routes to handle requests and responses.&lt;/p&gt;

&lt;p&gt;I also configured CORS so the frontend running on &lt;code&gt;http://localhost:5173&lt;/code&gt; could communicate with the backend.&lt;/p&gt;

&lt;p&gt;I used environment variables with &lt;code&gt;dotenv&lt;/code&gt; to manage configuration values, including the JWT secret.&lt;/p&gt;

&lt;p&gt;This was where I started understanding the importance of separating frontend responsibilities from backend responsibilities.&lt;/p&gt;

&lt;p&gt;The frontend handles the user interface and interactions.&lt;/p&gt;

&lt;p&gt;The backend handles server-side logic and API requests.&lt;/p&gt;

&lt;p&gt;They communicate through HTTP requests and responses.&lt;/p&gt;

&lt;p&gt;It sounds simple when explained, but actually setting everything up and getting it to work taught me a lot.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Authentication: Understanding JWT and protected routes
&lt;/h2&gt;

&lt;p&gt;I wanted users to have a proper authentication experience.&lt;/p&gt;

&lt;p&gt;So I introduced Sign In and Sign Up interfaces.&lt;/p&gt;

&lt;p&gt;But I didn't want to stop at simply displaying authentication forms.&lt;/p&gt;

&lt;p&gt;I wanted to understand what happens behind the scenes when a user authenticates.&lt;/p&gt;

&lt;p&gt;I worked with JSON Web Tokens (JWT) and authentication middleware on the Express backend.&lt;/p&gt;

&lt;p&gt;The idea was to authenticate users and use the token when accessing protected API routes.&lt;/p&gt;

&lt;p&gt;I also worked on a protected endpoint:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;GET /api/profile&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This route required a valid token.&lt;/p&gt;

&lt;p&gt;On the frontend, I used React's &lt;code&gt;useEffect&lt;/code&gt; to make a request to the backend and included the JWT in the Authorization header using the Bearer token format.&lt;/p&gt;

&lt;p&gt;This helped me understand a very important concept:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Authentication and authorization are not the same thing as displaying a Sign In form.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A user interface can collect login information, but the backend must handle authentication and protect resources.&lt;/p&gt;

&lt;p&gt;I also worked on email validation and tested API routes using Postman.&lt;/p&gt;

&lt;p&gt;Testing with Postman helped me understand what the backend was returning without depending entirely on the React interface.&lt;/p&gt;

&lt;p&gt;It made debugging API requests much easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. The face-detection functionality
&lt;/h2&gt;

&lt;p&gt;Now, let's talk about the main feature that inspired the project.&lt;/p&gt;

&lt;p&gt;How do you actually detect faces in an image?&lt;/p&gt;

&lt;p&gt;At first, I explored different face-detection services and technologies.&lt;/p&gt;

&lt;p&gt;I looked into Clarifai and other possible solutions, but I encountered connection and configuration difficulties.&lt;/p&gt;

&lt;p&gt;I also explored MediaPipe as another possible option.&lt;/p&gt;

&lt;p&gt;Eventually, I worked with Human.js.&lt;/p&gt;

&lt;p&gt;Human.js allowed me to load a face-detection model and process images in the browser.&lt;/p&gt;

&lt;p&gt;I worked with its loading and detection functionality:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Loading the model.&lt;/li&gt;
&lt;li&gt;Processing an uploaded image.&lt;/li&gt;
&lt;li&gt;Detecting faces.&lt;/li&gt;
&lt;li&gt;Working with the detection results.&lt;/li&gt;
&lt;li&gt;Displaying the face-detection interface.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This part was particularly interesting because it introduced me to computer vision in a web application.&lt;/p&gt;

&lt;p&gt;It also taught me something important: choosing a technology is only one part of integration. Understanding how it works, how to configure it, and how to use its results correctly is another challenge.&lt;/p&gt;

&lt;p&gt;One technical distinction worth mentioning is that the Human.js implementation I explored performs face detection. Detecting a face is different from identifying whose face it is. That is an area I would like to explore further.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Image validation and user experience
&lt;/h2&gt;

&lt;p&gt;I didn't want the application to behave unpredictably whenever someone submitted an invalid image URL.&lt;/p&gt;

&lt;p&gt;So I worked on input validation.&lt;/p&gt;

&lt;p&gt;I used JavaScript's &lt;code&gt;URL&lt;/code&gt; constructor to validate submitted URLs and restricted the accepted protocols to HTTP and HTTPS.&lt;/p&gt;

&lt;p&gt;I also added error handling for images that failed to load.&lt;/p&gt;

&lt;p&gt;Another feature I worked on was the scanning experience.&lt;/p&gt;

&lt;p&gt;When a user submits an image, the application displays a scanning message while processing takes place.&lt;/p&gt;

&lt;p&gt;This introduced me to the importance of loading states and conditional rendering.&lt;/p&gt;

&lt;p&gt;I learned that users should not have to guess what an application is doing.&lt;/p&gt;

&lt;p&gt;A good application should communicate its current state, whether it is loading, processing, successful, or encountering an error.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. The debugging experience: Nothing always works the first time
&lt;/h2&gt;

&lt;p&gt;I wish I could say everything worked perfectly from the beginning.&lt;/p&gt;

&lt;p&gt;It didn't.&lt;/p&gt;

&lt;p&gt;I encountered several problems during development.&lt;/p&gt;

&lt;p&gt;Some involved package compatibility.&lt;/p&gt;

&lt;p&gt;Others involved imports, component setup, backend configuration, API communication, and authentication.&lt;/p&gt;

&lt;p&gt;At one point, I encountered a &lt;code&gt;useState&lt;/code&gt; error while working on the authentication components.&lt;/p&gt;

&lt;p&gt;I had to investigate the import and setup rather than randomly changing code.&lt;/p&gt;

&lt;p&gt;I also had to deal with CORS configuration and make sure my frontend and backend were communicating through the correct ports.&lt;/p&gt;

&lt;p&gt;There were also difficulties while exploring external face-detection services.&lt;/p&gt;

&lt;p&gt;And then came deployment.&lt;/p&gt;

&lt;p&gt;Each problem required a different approach.&lt;/p&gt;

&lt;p&gt;Sometimes I had to read documentation. Sometimes I had to inspect error messages. Other times, I had to test an endpoint independently using Postman.&lt;/p&gt;

&lt;p&gt;I began to understand that debugging isn't something that happens occasionally in software development.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Debugging is part of the development process itself.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The most important thing I learned was to slow down, understand the error, investigate its cause, and test possible solutions instead of changing several things at once.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Deployment: Taking the project beyond localhost
&lt;/h2&gt;

&lt;p&gt;After spending so much time developing the application locally, I wanted to make it accessible online.&lt;/p&gt;

&lt;p&gt;This introduced another level of learning.&lt;/p&gt;

&lt;p&gt;An application working on localhost doesn't automatically mean it will work in production.&lt;/p&gt;

&lt;p&gt;The frontend and backend need to communicate correctly in the deployed environment too.&lt;/p&gt;

&lt;p&gt;I encountered backend-related errors during deployment.&lt;/p&gt;

&lt;p&gt;This meant I had to think about things I hadn't needed to worry about in the same way during local development:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Production environment variables.&lt;/li&gt;
&lt;li&gt;Backend hosting.&lt;/li&gt;
&lt;li&gt;API URLs.&lt;/li&gt;
&lt;li&gt;CORS configuration.&lt;/li&gt;
&lt;li&gt;Server availability.&lt;/li&gt;
&lt;li&gt;Frontend-backend communication.&lt;/li&gt;
&lt;li&gt;Deployment logs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It was frustrating, especially after putting so much work into the application.&lt;/p&gt;

&lt;p&gt;But I realized that deployment is not just the final button you click after coding.&lt;/p&gt;

&lt;p&gt;It is another part of building a full-stack application.&lt;/p&gt;

&lt;p&gt;I still have more to learn in this area, but experiencing these issues has given me a better understanding of what happens when an application moves from development to production.&lt;/p&gt;

&lt;h2&gt;
  
  
  10. What I learned from building this full-stack project
&lt;/h2&gt;

&lt;p&gt;This project helped me connect concepts I had previously learned separately.&lt;/p&gt;

&lt;p&gt;Here are some of my biggest takeaways.&lt;/p&gt;

&lt;h3&gt;
  
  
  Frontend development
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Building reusable React components.&lt;/li&gt;
&lt;li&gt;Passing props between components.&lt;/li&gt;
&lt;li&gt;Managing state with &lt;code&gt;useState&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Using &lt;code&gt;useEffect&lt;/code&gt; for side effects.&lt;/li&gt;
&lt;li&gt;Handling forms and user input.&lt;/li&gt;
&lt;li&gt;Conditional rendering.&lt;/li&gt;
&lt;li&gt;Working with external libraries.&lt;/li&gt;
&lt;li&gt;Creating responsive interfaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Backend development
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Setting up a Node.js and Express server.&lt;/li&gt;
&lt;li&gt;Creating and handling API routes.&lt;/li&gt;
&lt;li&gt;Understanding HTTP requests and responses.&lt;/li&gt;
&lt;li&gt;Configuring CORS.&lt;/li&gt;
&lt;li&gt;Using environment variables.&lt;/li&gt;
&lt;li&gt;Implementing JWT authentication middleware.&lt;/li&gt;
&lt;li&gt;Protecting API endpoints.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Working with APIs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Sending requests from React to Express.&lt;/li&gt;
&lt;li&gt;Passing authentication tokens.&lt;/li&gt;
&lt;li&gt;Testing endpoints with Postman.&lt;/li&gt;
&lt;li&gt;Handling API responses and errors.&lt;/li&gt;
&lt;li&gt;Understanding frontend-backend communication.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Computer vision
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Exploring face-detection technologies.&lt;/li&gt;
&lt;li&gt;Loading a detection model.&lt;/li&gt;
&lt;li&gt;Processing images with Human.js.&lt;/li&gt;
&lt;li&gt;Understanding the difference between face detection and face recognition.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Problem-solving
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Reading documentation.&lt;/li&gt;
&lt;li&gt;Debugging errors.&lt;/li&gt;
&lt;li&gt;Investigating package compatibility.&lt;/li&gt;
&lt;li&gt;Testing features independently.&lt;/li&gt;
&lt;li&gt;Working through deployment problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest lesson?&lt;/p&gt;

&lt;p&gt;I learned that building a full-stack application requires understanding how all the different pieces work together, not just knowing how to write code in each technology.&lt;/p&gt;

&lt;h2&gt;
  
  
  11. What I would improve if I started again
&lt;/h2&gt;

&lt;p&gt;Looking back, there are things I would approach differently.&lt;/p&gt;

&lt;p&gt;First, I would investigate the face-detection technology much earlier.&lt;/p&gt;

&lt;p&gt;I spent time exploring different services and trying to understand their requirements. I would now research the available options and their limitations before committing to an integration approach.&lt;/p&gt;

&lt;p&gt;Second, I would plan the frontend-backend communication more carefully from the beginning.&lt;/p&gt;

&lt;p&gt;Third, I would test each feature independently as I build it.&lt;/p&gt;

&lt;p&gt;I would also plan the deployment environment earlier instead of leaving too many production configuration questions until the end.&lt;/p&gt;

&lt;p&gt;These are not lessons I want to forget.&lt;/p&gt;

&lt;p&gt;They are things I want to carry into my next project.&lt;/p&gt;

&lt;h2&gt;
  
  
  12. What's next in my developer journey?
&lt;/h2&gt;

&lt;p&gt;I'm still learning, and I don't want this project to be the end of my growth.&lt;/p&gt;

&lt;p&gt;My goal is to become a Full-Stack Developer, and I want to keep improving my understanding of backend engineering, databases, authentication, system architecture, and scalable applications.&lt;/p&gt;

&lt;p&gt;My next major project is an advanced multi-vendor e-commerce platform.&lt;/p&gt;

&lt;p&gt;I want to explore how a larger application handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multiple user roles.&lt;/li&gt;
&lt;li&gt;Vendors and customer accounts.&lt;/li&gt;
&lt;li&gt;Product management.&lt;/li&gt;
&lt;li&gt;Inventory management.&lt;/li&gt;
&lt;li&gt;Shopping carts and orders.&lt;/li&gt;
&lt;li&gt;Payment integration.&lt;/li&gt;
&lt;li&gt;Database relationships.&lt;/li&gt;
&lt;li&gt;Authorization and security.&lt;/li&gt;
&lt;li&gt;Backend architecture.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I know it will be challenging, but that's exactly why I want to build it.&lt;/p&gt;

&lt;p&gt;I want to keep learning by solving real development problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  13. I'd love to hear from other developers
&lt;/h2&gt;

&lt;p&gt;I didn't write this article simply to announce that I built a project.&lt;/p&gt;

&lt;p&gt;I want to start a conversation.&lt;/p&gt;

&lt;p&gt;There are developers here who have built much more complex applications than I have, and I'd genuinely appreciate learning from their experiences.&lt;/p&gt;

&lt;p&gt;Here are a few questions I'd love to discuss:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Backend architecture:&lt;/strong&gt; How would you structure the backend of a project like this? Would you use a modular monolith or a different architecture?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Authentication:&lt;/strong&gt; What authentication practices would you recommend for a React and Express application using JWT? Are there things beginners commonly get wrong?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Face detection:&lt;/strong&gt; If you were building this today, would you choose Human.js, MediaPipe, or a cloud-based face-detection API? Why?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Database design:&lt;/strong&gt; How would you approach storing user information and other application data for a project like this?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Deployment:&lt;/strong&gt; What hosting setup would you recommend for a full-stack React and Node.js application, especially when the frontend and backend are deployed separately?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. General advice:&lt;/strong&gt; For developers transitioning from frontend development into full-stack development, what concepts do you think deserve the most attention?&lt;/p&gt;

&lt;p&gt;I'm open to corrections, constructive criticism, suggestions, and different approaches.&lt;/p&gt;

&lt;p&gt;If you've worked on something similar, please share your experience in the comments.&lt;/p&gt;

&lt;p&gt;I'd love to learn from you.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;This project reminded me why I enjoy building software.&lt;/p&gt;

&lt;p&gt;There were moments when things worked perfectly, moments when I couldn't understand an error, and moments when I had to step back and reconsider my approach.&lt;/p&gt;

&lt;p&gt;But every challenge gave me something to learn.&lt;/p&gt;

&lt;p&gt;I started with an idea and used the project to explore both frontend and backend development.&lt;/p&gt;

&lt;p&gt;I'm not claiming to know everything. I'm still learning, experimenting, and improving.&lt;/p&gt;

&lt;p&gt;And that's the point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The goal isn't to know everything before building. Sometimes, the best way to learn is to build something, encounter problems, and figure out how to solve them.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thank you for reading.&lt;/p&gt;

&lt;p&gt;Let's keep building. Let's keep learning. 🚀&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Connect with me:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/Horlah-dev" rel="noopener noreferrer"&gt;https://github.com/Horlah-dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;LinkedIn: &lt;a href="https://linkedin.com/in/raji-ridwan-90210b380" rel="noopener noreferrer"&gt;https://linkedin.com/in/raji-ridwan-90210b380&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;X: &lt;a href="https://x.com/horlah13711" rel="noopener noreferrer"&gt;https://x.com/horlah13711&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  FullStackDevelopment #React #NodeJS #ExpressJS #JavaScript #WebDevelopment #BuildInPublic #100DaysOfCode
&lt;/h1&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>softwaredevelopment</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I Finished My RoboFriends Project: What I Learned About React, Redux, and Debugging</title>
      <dc:creator>Raji Ridwan Olamilekan</dc:creator>
      <pubDate>Wed, 28 Oct 2026 09:22:25 +0000</pubDate>
      <link>https://dev.to/horlahdev/i-finished-my-robofriends-project-what-i-learned-about-react-redux-and-debugging-5fl9</link>
      <guid>https://dev.to/horlahdev/i-finished-my-robofriends-project-what-i-learned-about-react-redux-and-debugging-5fl9</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsg9q0q8ua5puzdl27yp2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsg9q0q8ua5puzdl27yp2.png" alt=" " width="800" height="398"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyiuak4hit9m6q9ff1wd6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyiuak4hit9m6q9ff1wd6.png" alt=" " width="800" height="395"&gt;&lt;/a&gt;Hey developers! 👋&lt;/p&gt;

&lt;p&gt;This is my first post on DEV, and I wanted to start by sharing something I've been working on recently.&lt;/p&gt;

&lt;p&gt;I'm a Computer Science student learning web development by building projects, making mistakes, debugging, and trying to understand how things work under the hood.&lt;/p&gt;

&lt;p&gt;Recently, I completed my RoboFriends project using React and Redux, and it taught me more than I expected.&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Check out my live demo:&lt;/strong&gt; &lt;a href="https://horlah-dev.github.io/robofriends/" rel="noopener noreferrer"&gt;https://horlah-dev.github.io/robofriends/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is RoboFriends?
&lt;/h2&gt;

&lt;p&gt;RoboFriends is a React application that displays robot cards and allows users to search through them. Building it gave me an opportunity to practise working with components, managing state, and fetching data from an API.&lt;/p&gt;

&lt;p&gt;The technologies I worked with included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React&lt;/li&gt;
&lt;li&gt;JavaScript&lt;/li&gt;
&lt;li&gt;Redux Toolkit&lt;/li&gt;
&lt;li&gt;React-Redux&lt;/li&gt;
&lt;li&gt;API integration&lt;/li&gt;
&lt;li&gt;Redux middleware&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;p&gt;One of my biggest learning experiences was working with Redux.&lt;/p&gt;

&lt;p&gt;At first, understanding how application state flows through Redux was confusing. I had to understand how actions, reducers, the store, and React components work together.&lt;/p&gt;

&lt;p&gt;As I continued building, I explored modern Redux patterns using &lt;code&gt;useSelector&lt;/code&gt; and &lt;code&gt;useDispatch&lt;/code&gt;. This helped me connect my React components to the Redux store more clearly.&lt;/p&gt;

&lt;p&gt;I also worked on API fetching and explored Redux middleware, including Redux Logger and thunk-related functionality.&lt;/p&gt;

&lt;h2&gt;
  
  
  The deployment plot twist 😂
&lt;/h2&gt;

&lt;p&gt;Funny enough, I had to debug my project when I was about to deploy RoboFriends!&lt;/p&gt;

&lt;p&gt;I honestly thought deploying it would be just like deploying my usual HTML, CSS, and JavaScript projects. I didn't expect to run into deployment issues that required more debugging.&lt;/p&gt;

&lt;p&gt;That experience reminded me that building an application doesn't end when it works on my local machine. I also need to understand how to build, configure, and deploy it properly.&lt;/p&gt;

&lt;p&gt;And yes, more debugging! 😂&lt;/p&gt;

&lt;h2&gt;
  
  
  Debugging was part of the journey
&lt;/h2&gt;

&lt;p&gt;Not everything worked on the first attempt.&lt;/p&gt;

&lt;p&gt;I encountered errors, had to investigate why certain things weren't working, and made changes before getting the application to behave as expected.&lt;/p&gt;

&lt;p&gt;One thing this project reminded me of is that building software isn't just about writing code that works. It's also about understanding why something breaks and learning how to fix it.&lt;/p&gt;

&lt;p&gt;I didn't understand everything immediately, but working through the problems helped me become more comfortable with the tools I was using.&lt;/p&gt;

&lt;h2&gt;
  
  
  I'm enjoying the process ❤️
&lt;/h2&gt;

&lt;p&gt;Despite the challenges, I'm genuinely happy working with React.&lt;/p&gt;

&lt;p&gt;I enjoy building things, facing problems, and figuring out how to solve them. I know there are still many things I need to learn, but I'm ready for the journey.&lt;/p&gt;

&lt;p&gt;My goal is to become a &lt;strong&gt;Full-Stack | AI &amp;amp; LLM Engineer&lt;/strong&gt;, so I'm continuing to strengthen my frontend skills while learning Node.js, Express, and PostgreSQL.&lt;/p&gt;

&lt;p&gt;I want to understand how everything connects, from building user interfaces to creating APIs, working with databases, and deploying complete applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next? 🚀
&lt;/h2&gt;

&lt;p&gt;RoboFriends is done, but the journey continues!&lt;/p&gt;

&lt;p&gt;My next project is coming up soon, and I'm looking forward to applying what I've learned while challenging myself with something new.&lt;/p&gt;

&lt;p&gt;I'll keep sharing my progress, the problems I encounter, and the lessons I learn along the way.&lt;/p&gt;

&lt;p&gt;If you're also learning to code, I'd love to hear about your journey.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's one challenge you faced while building your first serious project, and how did you solve it?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thanks for reading my first DEV post!&lt;/p&gt;

&lt;p&gt;Let's keep building, debugging, and learning. 💻🔥&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;— Horlah&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
