Developing applications with cybersecurity in mind requires training, and the documentation is often hard to read.
Remember that OWASP offers practical and easy-to-follow guides divided into topics to address all the most common issues.
OWASP Cheat Sheet Series. Also available on GitHub