Run React on Your local machine (2024)

So you started learning React and you are wondering how to run your React app locally. Well, you have come to the right place!

If you are starting your project new, read the guide below. However, if you have your files and want to edit or continue working on them locally(watch out for my next article on how to do so)

What you will need:

Step 1 - Opening VS Code and Root folder

Launch VS Code on your local machine.

Open and add the root folder (This is the folder you want to save your projects in) to your workspace on Vscode.

Run React on Your local machine (1)

Step 2 - Open a new terminal

Go to the terminal on the top menu and click New terminal or ctrl+shift+'.

Run React on Your local machine (2)

Run React on Your local machine (3)

Choose the folder you want your react app to be created in if you have many folders added to your workspace and the terminal will be opened! Check the image above for reference.

Step 3 - Creating the folder

Type the below command into the terminal to create a react folder with boiler-plate code. Travel-journal is the name of your folder and should in small letters only!

npx create-react-app travel-journal

Run React on Your local machine (4)

This shows your new react app is being created!

Run React on Your local machine (5)

This shows your new react app is ready to be launched! Notice the new folder with the name of your app? Yes! that means it worked!

Step 4- Open and run the local server

To confirm it has worked, Open and run the local server by typing the below code!

cd my-appnpm start

Run React on Your local machine (6)

This is the confirmation that it has worked!

Step 5 - Congratulations on launching your first React app locally

Run React on Your local machine (7)

This marks the end of the tutorial. If you have any questions or feedback, please leave a comment below. Happy Coding!

Run React on Your local machine (2024)
Top Articles
Insurance Topics | Risk-Based Capital
How To Prevent Credit Card Fraud
The Blackening Showtimes Near Century Aurora And Xd
Cranes For Sale in United States| IronPlanet
It's Official: Sabrina Carpenter's Bangs Are Taking Over TikTok
Couchtuner The Office
Vanadium Conan Exiles
Ribbit Woodbine
King Fields Mortuary
Decaying Brackenhide Blanket
Youtube Combe
Does Pappadeaux Pay Weekly
Myunlb
Directions To O'reilly's Near Me
Used Drum Kits Ebay
Mzinchaleft
Toy Story 3 Animation Screencaps
Prestige Home Designs By American Furniture Galleries
Nhl Tankathon Mock Draft
Concordia Apartment 34 Tarkov
/Www.usps.com/International/Passports.htm
PowerXL Smokeless Grill- Elektrische Grill - Rookloos & geurloos grillplezier - met... | bol
Indystar Obits
Quick Answer: When Is The Zellwood Corn Festival - BikeHike
Aerocareusa Hmebillpay Com
Optum Urgent Care - Nutley Photos
Does Hunter Schafer Have A Dick
Drying Cloths At A Hammam Crossword Clue
4 Methods to Fix “Vortex Mods Cannot Be Deployed” Issue - MiniTool Partition Wizard
Abga Gestation Calculator
Ncal Kaiser Online Pay
Reserve A Room Ucla
The Rise of "t33n leaks": Understanding the Impact and Implications - The Digital Weekly
Basil Martusevich
Mrstryst
Little Caesars Saul Kleinfeld
Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
The Pretty Kitty Tanglewood
El agente nocturno, actores y personajes: quién es quién en la serie de Netflix The Night Agent | MAG | EL COMERCIO PERÚ
11 Pm Pst
Vivek Flowers Chantilly
2700 Yen To Usd
Froedtert Billing Phone Number
Pgecom
22 Golden Rules for Fitness Beginners – Barnes Corner Fitness
Top 1,000 Girl Names for Your Baby Girl in 2024 | Pampers
War Room Pandemic Rumble
Iman Fashion Clearance
Syrie Funeral Home Obituary
Www.homedepot .Com
1Tamilmv.kids
Itsleaa
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 5816

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.