-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add client-side data validation #20
Comments
It could also handle duplicate entries |
Handling duplicate data is very much possible and we can achieve it but how to make sure that the added data is valid or not. |
we can use the fetch API to make a HEAD request to the link. If the response is OK (200-299), we consider the link valid. If the response is not OK, or if there's an error making the request, we consider the link invalid. but this implementation has some limitations:
after more research, we can solve this issues using more complex crawling algorithms that use a combination of techniques like
|
Cool, I think it can be done. |
I appreciate your positive attitude and approach to challenging tasks. It's great working with you, @mohtasheem135 |
Data validation on the client-side to prevent inconsistent or invalid data being stored
The text was updated successfully, but these errors were encountered: