Check out example codes for "Where are WordPress Posts Stored". It will help you in understanding the concepts better.

Code Example 1

/public_html/wp-content/themes/'here your theme name'/

Learn ReactJs, React Native from akashmittal.com