I have a create-react-app that I want to deploy but I'd like to make the access to the entire app password protected (at the web server level) so crawlers or anonymous users can't access the link without knowing the credentials.
The solution would be something similar to this but in node: http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
Is there any configuration that exist to support this in node for dev/prod environments?
Thanks a lot!