This boilerplate was gotten from the official Yarn v1 starter turborepo.
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
docs: a Next.js appweb: another Next.js appdemos: a simple create react app for testing and demoing our packagesui: a stub React component library shared by bothwebanddocsapplicationseslint-config-custom:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
First of all, star this repo 😎, then... All you need to do is fork the repository and install locally. And then do this:
npm install
cd packages/paystack
Change something, and send in a PR!
First of all you will need to create a free Paystack account and get a public API Add the key as an env variable (REACT_APP_PAYSTACK_PUBLIC_KEY). And then do this:
cd apps/demos
npm start
Click the link to open the pop up, and you are good to go!