Hello Everyone
I am new to Javascript and React. I was wondering if there is any way I can download some open source projects written in React JS from Github and run it in my computer with the help of Visual Studio code.I was thinking to study the source code so that I can learn React.
I found some projects in Github but not sure how I can download the source code and run it .
Is there any step by step guideline? Can anyone help?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (7)
Open your terminal and then type
$ git clone {the url to the GitHub repo}
This clones the repo
cd
into the new folder and type$ npm install
This installs the required dependencies
To run the React project.
$ npm start
You are done! Now you can start editing the React project in the new folder that's created.
That worked !! Thanks a lot :)
Thanks ... I forget npm install always :)
It really helps thanks
Hello I followed all three steps suggested by Sattwik Sahu but when I run npm start it is showing "Waiting for changes..." from a very long time. So how can I run the newly downloaded code in my system.
Please see attached Image.
Thanks for asking this question man. This helped me 2 years later :)
Thanks a lot