Cloudflare POC

Implementation:

Frontend mock server:
The frontend Remix project is hosted on poc.liaozhengpeng.com. Click here to see the newsroom page, which is a clone of the iqair.com/us/newsroom page.


Shopify admin API mock:
I copied some data from the iqair.com/us/newsroom page to a Cloudflare Worker, and then I can use the worker to mock the Shopify Admin API. https://cache-server-cloudflare-poc.liaozhangpeng.workers.dev/api/news is the cache server.


Test requesting website API from Cloudflare Worker:

Advantages:

Blockers:

Results:

RequirementResult
Validate Shopify integration using the Staging Shopify Admin API and test store environment.Hosted a mock server to serve data like Shopify Admin API
Verify communication with backend systems via development backend APIsWebsite API is public, anyone can access it
Monitor cost implications throughout the PoC periodFree tier has been used
Conduct baseline testing, including essential end-to-end (E2E) tests and connectivity checksOngoing
Evaluate observability capabilities by integrating with OpenTelemetry, and validate monitoring and logging functionalities.Cloudflare does not provide metrics alarms and reports out of the box, need to set up manually