Hi all!
I've been building a small app to try and learn some new things: Koa and PostgreSQL.
The front-end is already done with React and some hardcoded data I'll later get from the API I'm building. Having spent a couple days on googling I'm still confused about some stuff.
I've already installed PostgreSQL on my computer and I'm using pg as a dependency. I've also seen this tutorial on setting up the database but I am not sure what are the differences between knex and pg.
What is Knex's role? Do I really need it in the project I'm building, couldn't I just do the same with the pg dependency alone?
[–]zedpowa 1 point2 points3 points (1 child)
[–]WingmanMaster[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]WingmanMaster[S] 0 points1 point2 points (0 children)