Make sure your web application is production ready

Don’t move to production if you are not ready!

These points are just scratching the surface — every production deployment requirement differs, so make sure you understand your system and use these tips accordingly.

I didn’t order the points with priority. So treat every single point with the same priority (high!)

#1. Never hardcode sensitive information within your source code :

#2. Be careful while configuring CORS :

#3. Always validate the request :

#4. Be cautious while displaying error messages :

Improper handling of errors can introduce a variety of security problems for a web site. The most common problem is when detailed internal error messages such as stack traces, database dumps, and error codes are displayed to the user (hacker). These messages reveal implementation details that should never be revealed. Such details can provide hackers important clues on potential flaws in the site and such messages are also disturbing to normal users.

#5. Don’t forget to remove the console.logs() :

Conclusion :

Backend Engineer and Blockchain Developer. Keep learning | Spread Knowledge

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store