Setting Up
This section will discuss the steps to set up the MERN application, Lost It.
Prerequisites
Node.js (npm)
git
Visual Studio Code
Setting up the project on your computer
- Fork the repo and clone it to your computer.
- Open the terminal and navigate to the project directory and run the following commands.
- npm install to install the necessary packages. This command must be run two times, one for installing the packages required for frontend and once for the backend.
- The above command is run in the root directory of the repository ie inside of ~/../Lost-It/ >> npm install and in the client directory ie ~/Lost-It/client >> npm install
- Once this is done, you have to navigate to the root directory and run npm run dev . This will start the backend server.
- Open a new terminal window and navigate to the client sub-directory of the repository. Run the command npm start to start the deployement of frontend part of the application.
- An example of what you might expect is shown below.


- The page will reload if you make any changes to the files in the src directory and save those changes.
Configurations to do before writing any code