In this video, we are going to structure the folder and files for this project.
So first step is I'm going to create a folder and I'll call this one as full stack block.
And I'm going to use Visual Studio Code for this, and you can use any text editor of your choice.
So I'm going to open using Visual Studio Code and I have it as that.
Let's look at the folders and files for this project.
And for this I'm going to split up here.
After that, I'll explain the folders that I have created.
All right.
These are the photos that we may need for this application.
So let's walk through what these photos mean.
The first one is called config folder, and this folder is going to contain additional configuration
for our project.
For example, How to Connect to MongoDB.
The next folder is called Controllers, and inside we have three folders, comments, posts and uses
and this is where our business logic is going to lie.
And like I said, we will talk about them in details.
The next folder is called Middle Words and this one going to contain the materials that we are going
to use for this application.
For example, to check if a user is logged in.
The next folder is called models, and inside we have three folders, command posts and user.
The next folder is going to be the public.
For now it is empty and this one is going to contain the asset, the CSS and images that we may need
for our project.
The next one going to be the Roots.
And inside we have three folders, command posts and users and the next folder is going to be the utils.
And this I'm going to contain the additional utility method and function.
For example, if I want to convert a number to two decimal places or to convert a date to more readable,
we are going to create those functions inside this.
And then this one going to be the view.
So this folder is going to contain all the pages that we are going to render to the page.
All right.
And lastly, we have the server dot JS file and for this you can name it whatever you want.
We can make it as AB or index by.
I prefer to use server towards JS and I'll provide this files and folders for you.
All right.
But because we are going to start to develop the API, we are not going to make use of public for now.
So I'm going to remove this.
So this one represents the front end folder, so I'm going to trash it for now.
Likewise, the views, let me also trash it as that.
Now that we have the folders and file that we may need the next video.
Let's get started by initializing our project to use and PM.