Organizing the file structure of the application is one of the major tasks in development. If the application is well structured, it is easy to read and maintain. let's explore the folder structure and the files of the folder contained within them Config Config folder contains the configuration of your server and the database connections. It contains methods to connect with the DB and set up the database. e.g. try { const conn = await mongoose . connect ( mongoDb . Database . host , { useNewUrlParsers : true , useCreateIndex : true , useFindAndModify : false , useUnifiedTopology : true , } ) ; console . log ( "connection to db established" , conn . connection . host ) ; } This try method will try to connect to a MongoDB instance along with the defined parameters. Constants As the name suggests, this folder contains all the constants of the node application, e.g. Database name, hosting address, and other global consts. Controllers ...