- I designed this project a few years ago on codepen link
- I installed webpack, babel and set up the package.json according to this guide
- I configured webpack to pack css modules according to this guide
- I refactored my code to use react components. 😌
- View the source code under
/src/
- You can find the npm package here
- You can add the project in to your react project
npm install quote-o-matic
- import it in to your react project with:
import QuoteOMatic from 'quote-o-matic'
- Add the component
<QuoteOMatic/ >
- That's it! No configs required. Stay tuned for updates!
- I wanted to gain experience with NPM and learn how design systems are made.
- fetch quotes from numerous sources on the internet
- Allow customization of theme and layout.
- set up tests
npm run build