Amazing article, thank you very much. As a junior, just learning to build my own project, this is a real treat. Building my first full-stack portfolio project with node-postgres, and I really want to put some clean, well working app on the table.
Seen a lot of articles and tutorials with abstraction over the database, like mongoose or sequelize, but I struggled to find a good explanation on how to organize my project without those.
My first controller lost 150 lines of spaghetti on the first morning I implemented this. Long way for me to go, but at least I feel like I am making an effort in the right direction.
Thank you!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Amazing article, thank you very much. As a junior, just learning to build my own project, this is a real treat. Building my first full-stack portfolio project with node-postgres, and I really want to put some clean, well working app on the table.
Seen a lot of articles and tutorials with abstraction over the database, like mongoose or sequelize, but I struggled to find a good explanation on how to organize my project without those.
My first controller lost 150 lines of spaghetti on the first morning I implemented this. Long way for me to go, but at least I feel like I am making an effort in the right direction.
Thank you!