hoh-ksa-strapi-sdk
v1.3.0
Published
An SDK for the CMS service
Downloads
48
Readme
hoh-ksa-strapi-sdk
An SDK for the CMS service
Environment variables
Make sure you add the following env
values to your web/next project, before using this SDK:
NEXT_PUBLIC_CMS_API_URL = <The URL of the CMS you want to point to>
NEXT_PUBLIC_STRAPI_AUTH_TOKEN = <The API Auth token you were provided with. Request from a fellow team-mate.>
How to publish
To publish the package on NPM, you need to execute the following commands in order:
npm version <your_version_number>
git push --all && git push --tags
npm run build
npm publish