title: How do I fetch data from an external api and store it in my local database? (javascript)
body: <p>I want to fetch JSON from a website's endpoint and when once the data is fetched it should be simultaneously saved to my local database. I am using postgresql, node.js, and express.js</p>
  
  <p>Editing this to make it more detailed because it was put on hold, but not sure what else to say beyond I am making ajax calls to get data from a web site, and I want to save that data to a local database that I have on postgres. I don't want to turn it into a CSV or save json files and then import. </p>
  
  <p>I am open to different solutions lol.</p>