Scripts to perform CRUD operations against the following services:
- Algolia
- Bluestone
- Commercetols
- Conscia
- Contentful
- Stytch
- Install dependencies using
pnpm
(install it usingnpm i -g pnpm
if you don't have it) - Clone
.env.example
to a.env
file and set your variables - Run
pnpm start
Add a new TS file inside the existing scripts/service folders.
To add a new service:
- Create a new folder inside
src/scripts/
named as the service and add your script into it - Add the new service client (if needed) in the
src/clients/
folder. - Add environment variables to
src/environment.ts
and also an example of them inside.env.example
.