title: Is JavaScript able to substitute php?
body: <p>I have a friend who started learning website development and he's into php now. I, on the other side started studying Javascript. He asked me if it's possible to use JS instead of php code <em>entirely</em>?</p>
  
  <p>Well, I started learning JS because someone told me, it can be used for both frontend, backend (via NodeJS) and the database (via MongoDB). Though, since I' m a beginner in this field, I'm not sure in the answer, and I'm interested anyway, so I ask you: is it possible? </p>