I got that friend who want me to build a website for him. There will be no database, no need of Auth or anything like that, only text, images, embed streams and other stuff but nothing that needs a backend except that one form.
Well the problem is that he doesn't want to change his hosting plan that he already has and it's a really basic one that only support php.
I could use php but I really want to avoid it if possible.. I recently learned react and I would like to build the website as a react app, but I don't know if it's possible to fully secure the form since I can't use server side with nodeJS to manage that.
If it's possible, what would be the best approach to do so? Its just a contact form so there will never be any interaction with a database or any hypothetical backend code, so just using all basic stuff like data binding etc and maybe use a captcha would be enough? I'm pretty sure that's risky anyway so I want to know if there is a way to do it or if I need to use php anyway to handle the form in the server side.
Thanks for your answers!