Instead of using the default RescueGroups iFrame, which isn't mobile friendly, this tool uses RescueGroups and WIX API to copy available pets from RescueGroups to a Wix data collection. From there you can use dynamic pages to display the pet data on your Wix website.
- NodeJS v18.15.0+
- Yarn 1.22+
- git 2.40+
-
RescueGroups Username/Password
-
RescueGroups Account Number
-
WIX Collection (with the following columns)
- animalId
- breed
- description
- descriptionNoHtml
- exactBirthdate
- generalAge
- location
- locationPublic
- name
- needsAFoster
- picture1
- picture1Url
- relativeAge
- rescueId
- sex
- gallery
git clone
cd RG-TO-WIX
yarn install
yarn start -u {RG_USERNAME} -p {RG_PASSWORD} -a {RG-ACCOUNTID} -t {WIX_TOKEN} -c {WIX_COLLECTION}
- Install Code (see install instructions above)
- Build Code (
yarn build
) - ZIP
dist
andnode_modules
folder - Upload ZIP to S3 Bucket
- Deploy CloudFormation using
cloudformation.yaml
After the deployment of the cloudformation template, the stack outputs tab will
have a LambdaFunctionURL
. This URL is a public url that will execute the RG to
Wix Lambda on every GET request.