I can't find the link, but I remember reading a quote that J. K. Rowling said that she didn't believe in witches and wizards and magic, and that the only reason she could write about it was because she didn't believe in it. She also said, "I believe in God, not magic."
The Wikipedia article on her does include some information on her religious views. While she attended church throughout writing Harry Potter, there's also indications that she's ambivalent about religion, saying, at one point, that she hopes her faith will return.
And Harry Potter, with is dying and returning from the dead, is a pretty strong Jesus parallel.
I'm not clear on just where she's coming from. While she was a regular attender of church (while that doesn't prove anything), she talks about her faith returning to her (indicating she feels she's lost it), but is also writing in a setting (a magical one with witches and wizards as the good people) that is not accepted by some churches.
She also has said, "I believe in the permanence of the soul," yet, she writes about how Voldemort's soul is destroyed, piece by piece.
So even though Harry Potter is about witches and wizards and magic, is it essentially a story that was based on her religious beliefs? Are there characters who have parallels in her religion and are many of the stories based on parables? Or are there other ways that her beliefs, or possible ambivalence of beliefs have had a strong influence on her writing?
Note: I am not asking about religion, or what is right or wrong or true or false. The only person's religious beliefs that have any place being discussed here would be those of the author J. K. Rowling and if and what kind of effect those beliefs had on the Harry Potter characters and stories.