JAMstack to answer typical pain points of a commerce site

KISSMetrics study, claims that 40% of shoppers will abandon a website that takes longer than 3 seconds to load, while 47% expect a site to load in less than two.

That’s a huge problem for those eCommerce sites, that are almost entirely dependent on heavy backend databases.

Software development and technological advancement have made it easier to deliver services and goods more efficiently to the consumers. Technology changes almost on a daily basis, and as a result, retail innovators nowadays crave APIs that are extensible and responsive to their modular and ever-changing infrastructure.

Read about the study

Adam Sturrock Co-founder and VP Customer Success at Moltin

The API-first approach is simply the delivery mechanism, modern architectural design consists of a patchwork of best-of-breed APIs, tools, and services to achieve flexibility and interoperability.

What’s the JAM in the stack?

J  for JavaScript

Handles dynamic programming and is entirely client-side. Use any JavaScript library or framework or vanilla JavaScript to handle the request/response cycle.

A for APIs

Handles data transfer and communication between microservices in use.

M for markup

Can be prebuilt with a static site generator or dynamically built on page request.

JAMstack - the dynamic to your static

Speed is everything in the world of eCommerce, especially during the peak sales seasons (Cyber Monday, Black Friday, Christmas, etc.).

From development standpoint, it all boils down to caching and query optimization. The more and more searched for solution, especially for eCommerce where typically information doesn’t change often (think catalog details like product name, description, image, SKU, currency, etc.), are static sites that present dynamic information only when necessary, otherwise, making use of HTML sending information through HTTP(S), no server needed.

JAMstack takes care of all the instances where you need some dynamic rendering, like discount information, checkout process, payment, etc. where you would use JavaScript and APIs to do the work, be it custom-built or third party service plugged to your site.

Watch the video of our developers discussing JAMstack

Why chose JAMstack?

Better performance

The sites are generated on deploy-time through pre-built files served over a CDN.

Higher security

Entire communication goes through the APIs with reduced surface area for potential attacks.

Improved DX

Loose coupling opens the door to more targeted development and debugging.

Cheap and easy scaling

The stack can be served anywhere deploying it on any device needed.

Automated builds

Use webhooks or publishing platforms to push your pre-built markup live.

Let's build something amazing with Moltin