Skip to content

ude-soco/mean-mern-stack-lecture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

MEAN/MERN Stack Lecture

🚀 Get Started

Step 1: Pre-requisites

Download and install the following software:

Step 2: Clone the repository

  • If you have GitHub Desktop installed
    • Clone the repository by clicking the green Code button and then Open with GitHub Desktop.
    • Select the location where you want to clone the repository and click the Clone button.
  • Open a terminal and type the command below to clone the repository.
    git clone https://github.com/shoebjoarder/mean-mern-stack-lecture

Step 3: Install dependencies and run codes

  • Open the project using a code editor.
  • In VSCode, click the Terminal menu from the top menu and click New Terminal.
  • Switch between branches to view the different topics. Type git checkout <branch_name> in the terminal to switch between the branches. Remember to replace <branch_name> with the actual branch name, e.g.,
    git checkout 1-mern-stack
  • Open the terminal, move to the react-client directory and type the following command to install the node packages.
    npm ci
    • If you get an error, try typing the npm install or npm install --force command.
  • Run the following command in the terminal to start the React application.
    npm run dev
  • Then move to the server directory and type the following command to install the node packages.
    npm ci
    • If you get an error, try typing the npm install or npm install --force command.
  • Install nodemon globally
    npm i -g nodemon
    
  • Run the following command in the terminal to start the server.
    npm run server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published