What web app development framework to choose from a security angle?
Currently, one programming language and three frameworks are most popular there — JS with Angular, React and Vue.
Here's the thing: you could choose any language and framework that fits your needs but make sure of the three following things.
First, any candidate framework should have bug report pages like
Angular does.
Second, vendor security guides should be available — Angular is a champion there.
Third, you should be able to find a back-up developer should anything happen to the primary one.
How to validate the web app security posture before going live?
First of all — don't forget to use GitLab or GitHub for versioning and proper codebase maintenance — it would pay back in times.
Second — use tools like Burp Suite, SonarQube or w3af for a quick scan of your app.
Your goal there is to — quickly & dirty cover of the
OWASP TOP-10 Risks list.
Third, consider using crowd-sourced bug hunting platforms like HackerOne, BugCrowd or Synack for continuous assessment of your web app security.
But wait - keep in mind that you should comply with GDPR rules before starting a collection of customers data.
Bare GDPR minimum is getting user consent to process their data, warning them about the use of cookies and posting privacy policy on your website.
Well, how to resolve all the security issues within a web app?
Finding problems is only half of the job — now you have to manage them.
If you followed the previous advice (link to frameworks) you could submit framework-level vulnerabilities via bug reporting page if you got them.
Sometimes you should follow the vendor security guide (like Angular one) more thoroughly.
If nothing helps — find a professional security expert, who could tell you how to cut the angles there.