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
What is the FEMA declaration form for outward remittance?
Send money Mexico from USA (USD to MXN) provided by the best money transfer service providers us-dollar to mexican-peso
Umbc Baseball Camp
Inducement Small Bribe
Arkansas Gazette Sudoku
Rek Funerals
Evil Dead Rise Showtimes Near Massena Movieplex
Computer Repair Tryon North Carolina
CA Kapil 🇦🇪 Talreja Dubai on LinkedIn: #businessethics #audit #pwc #evergrande #talrejaandtalreja #businesssetup…
Gt Transfer Equivalency
Wnem Radar
Dutch Bros San Angelo Tx
Q Management Inc
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Craigslist Sparta Nj
ABCproxy | World-Leading Provider of Residential IP Proxies
Popular Chinese Restaurant in Rome Closing After 37 Years
Tu Pulga Online Utah
Ice Dodo Unblocked 76
Walgreens 8 Mile Dequindre
Weldmotor Vehicle.com
Reicks View Farms Grain Bids
1636 Pokemon Fire Red U Squirrels Download
Downtown Dispensary Promo Code
Rural King Credit Card Minimum Credit Score
Delete Verizon Cloud
Neteller Kasiinod
Astro Seek Asteroid Chart
Downloahub
2487872771
Gus Floribama Shore Drugs
Abga Gestation Calculator
Storelink Afs
Http://N14.Ultipro.com
Royal Caribbean Luggage Tags Pending
Kstate Qualtrics
How to Get Into UCLA: Admissions Stats + Tips
Joe's Truck Accessories Summerville South Carolina
Devotion Showtimes Near Mjr Universal Grand Cinema 16
Eleceed Mangaowl
Sephora Planet Hollywood
Craigs List Jonesboro Ar
Planet Fitness Santa Clarita Photos
Entry of the Globbots - 20th Century Electro​-​Synthesis, Avant Garde & Experimental Music 02;31,​07 - Volume II, by Various
Appraisalport Com Dashboard Orders
Jamesbonchai
Quick Base Dcps
Strange World Showtimes Near Century Stadium 25 And Xd
Cara Corcione Obituary
Compete My Workforce
Unit 4 + 2 - Concrete and Clay: The Complete Recordings 1964-1969 - Album Review
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.