News for hackers. Stuff that matters.
Re:Ask HN: Need an API for your weekend project? I'll build ... by tyzerdak on Friday October 18, 2019 @02:59PM (#21294142)
I have tables users (id, name, email, password, created_at) post (id, title, body, favs, created_at) post_favs (user_id, post_id)

Api should return post (id, title, body, favs, created_at, is_faved) And should cache post

Re:Ask HN: Need an API for your weekend project? I'll build ... by ruslan_talpa on Friday October 18, 2019 @03:07PM (#21294202)
What’s the project about?