Shubham Jadhav
05/12/2025, 9:23 PMMike Robbins
05/12/2025, 9:52 PMdata/db.json
file. I also have artificial delays here to make slow it down a bit. No CORS issues here.
• For production, the Suitelet is in the same domain as the API RESTlet so no CORS issues here either.
• There are two API files and it uses the correct one depending on if it's a production build or not.
There's also a single NPM command to build and deploy the JS, CSS, Suitelet, and RESTlet (script records and files) using SDF to any environment.
The README is not done yet, but it provides more details.Shubham Jadhav
05/12/2025, 9:57 PMMike Robbins
05/12/2025, 9:58 PMapi
folder which contains api.dev.js
and api.prod.js
depending on the build.Shubham Jadhav
05/12/2025, 10:02 PM