How to setup the backend (MongoDB) folder structure?

Hi Friends!

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!! :smiley:

Doesn’t anyone have a clue? I do not know how to get on here…

It should be in the starter code.

1 Like

I am an idiot, no doubt about that…

Thank you!! I really apprechiate that :star_struck: