fac19 / week5-FKAM

https://week5-fakm.herokuapp.com/public/index.html
0 stars 4 forks source link

Listings #51

Open freemvmt opened 4 years ago

freemvmt commented 4 years ago

So you've got a listings page up and running, but it's not getting populated with the posts sitting in your database!

I queried the database direct and the data is definitely in there - your init.sql schema is perfect and the only thing I had to innovate on beyond your README was writing node src/database/build.js to build the production database (to build the test version I had to change the database accordingly in my .env file and run this again).

I see that you have a listings.js file in your public folder. I assume your plan was/is the following:

So you've got a lot of the essential architecture in place to make this happen - it's 'just' plumbing! It looks like you've even got the HTML for the post ready to go in a