Fork me on GitHub

I made a table that displays (def users {:first "john" :last "doe"}) in a reagent component call user-table. Now I want read the data from my postgres db. In my previous app I did it like I did in every php app I have ever written. I queried the db on the server side and served up an html with the table populated. In this new world of clojurescript, I am stuck. My best guess is I should setup routes on the server side that return query results and then try to access those routes with ajax. But wow the learning curve here is steep. I am having a real hard time finding a simple example that does this.