-
React.js
-
Dependencies:
-
Heroku
##### Frontend Variables:
REACT_APP_TWITTER_URL=URL to your twitter
REACT_APP_GITHUB_URL=URL to your github
REACT_APP_LINKEDIN_URL=URL to your linked in profile
REACT_APP_FORMSPREE_URI=https://formspree.io/your-email
Environmental variables are also used to point to the Github Repo and the Deployed Site for each of the portfolio pieces so that information is not in the code. Use the prefix REACT_APP_
+ whatever you want to call your variable to use environmental variables in a React application and just be sure that those vars match in your code.
Requirements:
- Node
- Package Manager (such as Yarn or npm)
- Yarn was used to build this project.
Have Node? Have Yarn or npm? Follow these steps:
-
Fork and clone repo
-
Add an
.env
file to the client side at the root of the folder (same level as thepackage.json
file). -
Add environmental variables for the frontend.
-
Run
yarn install
to install the necessary node_modules on the frontend. -
Run
yarn start
to run the frontend onlocalhost:3000
-
Your application is now running and can be tested locally.