Setup for the NextJS app is relatively simple.
Install modules:
yarn
You will need to configure the API_URL and Stripe public key found within the project.
Make sure to add /api/v1/
to end of URL
For the API_URL, navigate to the next.config.js
file and modify within the env
property of the module exports.
Run development environment/build for production:
yarn dev
yarn build
Production build will be exported to a static build directory at the root of the project.