Paper Contents
Abstract
This project presents a full-stack web application focused on validating and securely storing user data. The frontend isdeveloped using React with React Hook Form, providing a responsive form that collects user inputs such as name, email, phonenumber, and age. Client-side validation ensures that names contain only alphabets and spaces, emails include an '@and endwith '.com', phone numbers are exactly 10 digits, and age is restricted between 18 and 120. This immediate validation improvesuser experience by preventing incorrect data submission.On the backend, FastAPI is used alongside Motor for asynchronous communication with a MongoDB database. The serverperforms additional validation and prevents duplicate records based on email and phone number, while assigning unique IDsand timestamps to each entry. Environment variables and security features are managed using libraries like python-dotenv andPyJWT, enabling safe and configurable deployment. The project also integrates testing and code quality tools such as pytest andflake8, ensuring maintainability. Together, this solution ensures robust, scalable, and efficient data handling suitable for modernweb applications.
Copyright
Copyright © 2025 Tanvi Kurhadkar . This is an open access article distributed under the Creative Commons Attribution License.