title: Connecting re-frame app to a Database
body: <p>I'm having a problem with my re-frame application. I can't figure out how to connect it to a local database on my machine.</p>
  
  <p>In other applications I've written, I've had to add the database specifications (username, password etc) into profiles.clj. Should I create profiles.clj and add the location of my database there? And does this mean I have to update the project.clj as well?</p>
  
  <p>Finally, do the queries to the database, such as GET and POST requests, go in db.cljs. </p>
  
  <p>I apologise if these questions are trivial but after reading the documentation several times I am still a little confused</p>