This is a project based on Next.js that gets WooCommerce report data from your self-hosted WordPress website.
Create a .env file in the root directory, add variables for ...
NEXT_PUBLIC_WC_CK
NEXT_PUBLIC_WC_CS
NEXT_PUBLIC_WP_URL
... with your WooCommerce keys and your WordPress URL, then run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!