GreenUp allows users to incorporate more environmentally friendly activities into their daily lives, while engaging in friendly competition with other users.
As a developer, I need to set up a project to create my application using React.
Development:
In the folder where you want your application to live, enter the command npx create-react-app intro-react except replace 'intro-react' with whatever you want the name of your project to be.
Now that we have our beginning files inplace we need to create a github repo and push things up in a very particular order. Create-react-app has already done a git init, built a README.md, and done and add and commit for us. We just need to link our local repo to a github repo and push.
Create a github repo - DO NOT initialize with a readme.
git remote add origin
git push -u origin master
git checkout -b setup
You should now have all the create-react-app stuff pushed up to github and be on a setup branch. Now we will modify the file structure to fit our needs.
User Story
As a developer, I need to set up a project to create my application using React.
Development:
npx create-react-app intro-react
except replace 'intro-react' with whatever you want the name of your project to be.Now that we have our beginning files inplace we need to create a github repo and push things up in a very particular order. Create-react-app has already done a git init, built a README.md, and done and add and commit for us. We just need to link our local repo to a github repo and push.
Create a github repo - DO NOT initialize with a readme. git remote add origin
git push -u origin master
git checkout -b setup
You should now have all the create-react-app stuff pushed up to github and be on a setup branch. Now we will modify the file structure to fit our needs.
Follow all the other directions here: https://github.com/nss-nightclass-projects/Night-Class-Resources/blob/master/book-4-react/chapters/react-setup.md