This is a tutorial about MERN stack setup. Through this article, we could understand the directory structure of MERN project, how to setup backend environments. In next article, I will detail more about how to set up frontend and how to dockerize each services including database.
Outlines
- Initialize server and client directories in MERN directory
- Install NodeJS packages in server directory
- Spin up MongoDB docker container and connect the container
Directories structure
Firstly, we could just make two directories client
and server
in the project root directory, which is usually the directory... read more