Skip to content

Full-stack JavaScript: MERN stack allows developers to use a single programming language, JavaScript, throughout the entire application stack, both front and back end. This enables code reuse, streamlines development, and simplifies the learning curve for JavaScript

Notifications You must be signed in to change notification settings

Pandeycoder/full_stack_-mern_Web_devlopment_2024

Repository files navigation

MERN Stack Development Environment Setup

Table of Contents

  1. Introduction

  2. Prerequisites

  3. Installation

  1. Conclusion

Introduction

Welcome to the Digipodium MERN Stack Development Setup documentation. This guide will walk you through the step-by-step process of setting up your environment for MERN Stack.

Prerequisites

Before you begin, make sure you have the following prerequisites installed:

  • A computer with internet access

  • Basic familiarity with the command line

Installation

Node.js

Node.js is runtime environment for executing JavaScript on server side. It includes npm the package manager for JavaScript packages. It is necessary to develop applications using JavaScript on your system.

  1. Download Node.js:
  • Visit the Node.js website and download the LTS version of NodeJS appropriate installer for your operating system.

Node.js installation step 1

  1. Install Node.js:

step 1: open the installer and click next

Node.js installation step 2

step 2: click on "I accept the terms in the License Agreement" and then click next

Node.js installation step 3

step 3: click next

Node.js installation step 3

step 4: click next

Node.js installation step 4

step 5: click next without checking the checkbox at this step

Node.js installation step 5

step 6: click "Install" at this step to finalize installation

Node.js installation step 6

Git

Git is a version control system that will help you track changes in your code.

  1. Download Git:
  • Visit the Git website and download the installer for your operating system.
  1. Install Git:
  • don't change any setting, keep pressing next and it will be installed.

VSCode

Visual Studio Code (VSCode) is a powerful code editor that provides excellent support for MERN Stack development.

  1. Download VSCode:
  • Visit the VSCode website and download the installer for your operating system.
  1. Install VSCode:
  • Follow the installation steps and check all the boxes and click install

VSCode Extensions

Enhance your VSCode experience with the following extensions:

  1. Live Server Extension:
  • Open VSCode.

  • Navigate to the Extensions view (Ctrl + Shift + X).

  • Search for "Live Server" and install the extension.

  1. Auto Rename Tags Extension:
  • Open VSCode.

  • Navigate to the Extensions view (Ctrl + Shift + X).

  • Search for "Auto rename tags" and install the extension.

  1. Google Fonts Extension:
  • Open VSCode.
  • Navigate to the Extensions view (Ctrl + Shift + X).
  • Search for "Google Fonts" and install the extension.

  1. JavaScript Snippets Extension:
  • Open VSCode.
  • Navigate to the Extensions view (Ctrl + Shift + X).
  • Search for "es6" and install the "JavaScript (ES6) code snippets" extension.

  1. React Snippets Extension:
  • Open VSCode.
  • Navigate to the Extensions view (Ctrl + Shift + X).
  • Search for "es7+" and install the "ES7+ React/Redux/React-Native/JS snippets" extension.

  1. Next.js Snippets Extension:
  • Open VSCode.
  • Navigate to the Extensions view (Ctrl + Shift + X).
  • Search for "nextjs" and install the "Nextjs Snippets" extension.

  1. VS Code Icons Extension:
  • Open VSCode.
  • Navigate to the Extensions view (Ctrl + Shift + X).
  • Search for "material icon" and install the "Material Icon Theme" extension and set the icon theme when asked.

Git Configuration

(create an account on github.com if you don't have one already)

open your terminal and run the following commands to configure your Git username and email:

  

git  config  --global  user.name  "Your Name"

  

git  config  --global  user.email  "your.email@example.com"

  

Replace "Your Name" and "your.email@example.com" with your actual name and email.

Conclusion

Congratulations! You have successfully set up your MERN Stack Development environment using Node.js, Git, and VSCode. Happy coding!

About

Full-stack JavaScript: MERN stack allows developers to use a single programming language, JavaScript, throughout the entire application stack, both front and back end. This enables code reuse, streamlines development, and simplifies the learning curve for JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published