Fix Form Validation Bug in React + Node.js App

Posted 2 hours ago

Worldwide

Summary

I have a small React + Node.js (Express) web app with a signup form that isn't working correctly. I need a developer to fix it quickly. The issue: The signup form on the frontend (React) allows submission even when the email field is empty or invalid. When the form is submitted, the Node.js/Express backend isn't returning proper error messages — it just sends a generic 500 error even for validation issues. I need proper validation added on both sides: frontend (show inline error messages) and backend (return clear 400 errors with a message for missing/invalid fields). Tech stack: Frontend: React (functional components, hooks) Backend: Node.js with Express Database: MongoDB (Mongoose) What I need done: Add frontend validation (required fields, valid email format) with error messages shown under each input. Add backend validation middleware (e.g., using express-validator or simple manual checks) that returns proper 400 status with clear error messages. Quick test to confirm both work together (bad input shows error, good input submits successfully).

  • $30.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
MongoDB
PHP
Node.js
API
React
Activity on this job
  • Proposals:50+
  • Last viewed by client:8 minutes ago
  • Interviewing:
    0
  • Invites sent:
    1
  • Unanswered invites:
    0
About the client
Member since Nov 24, 2020
  • United States
    Clifton2:25 PM
  • $16K total spent
    594 hires, 4 active
  • 26 hours
  • Individual client

Explore similar jobs on Upwork

Add Tree Adoption Feature to WordPressFixed-price‐ Posted 2 months ago
WordPress
PHP
HTML5
CSS
Dashboard for Amazon and FlipkartFixed-price‐ Posted 1 month ago
Amazon Seller Central
Data Analysis

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo