Quick example of how to setup form validation in React with the Formik 2 library. Includes validation for email, required checkbox and password/confirm password matching.
To connect to a remote MongoDB server running on AWS EC2 that only allows local connections you can use an SSH tunnel, also known as SSH port forwarding.