I am trying to build my first backend and want to connect my application to MongoDB database. I am following a tutorial and on some point I got confused, because the teacher uses a folder structure which is already available in his application (screenshot).
Can someone tell me how can I create this backend folder structure? Do I need to create all of these folders on my own or can I install a package for that?
I am useing React (Nextjs) for the frontend and Nodejs with MongoDB for the backend.
Thanks for help!!