-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Jan Gerhard Schoepp edited this page May 2, 2018
·
3 revisions
Clone the project and do development on a feature branch, and then create a pull-request.
Clone: git clone https://github.com/jangerhard/react-github-showcase.git
Fork: See Github Guide
cd react-github-showcase
git branch feature-[SOME-FEATURE]
Set up NPM Link
npm link
npm start
Create a simple React project using a starter pack of your choice.
cd your-react-project
npm link react-github-showcase
import GithubShowcase from 'react-github-showcase';
<div>
<GithubShowcase
username={ANY_VALID_USERNAME}
api_key={API_KEY}/>
</div>
Remember to not submit your Api Key to Git. Use Environment Variables