App Structure
Answered
Giant panda posted this in #help-forum
Giant pandaOP
I'm trying to figure out the structure for a next project, and im looking at this image, I'd like to implement sequelize, which folder should my sequelize logic go in?
src/database or something?11 Replies
you can use the
lib folder to store something like that@B33fb0n3 you can use the lib folder to store something like that
Giant pandaOP
src/app/lib is what you're recommending?yea, more like:
src/app/src/lib/Answer
Giant pandaOP
oh damn alright
is there a usage difference between
src/app/lib and src/libfor example when i was following the auth example earlier the tutorial told me to use
no. There is no recommendended way. That's just my personal opinion, because I structure my whole project like this:
Giant pandaOP
ah okay gotcha lol
thank u
happy to help