Questions tagged [jamstack]

Modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup. The JAMstack is not about specific technologies. It’s a new way of building websites and apps that delivers better performance, higher security, lower cost of scaling, and a better developer experience.

What questions should have this tag?

JAM (, and ) is just a simple terminology around the new way of making web projects, where you don’t have to host your own backend that builds the site every time you serve it.

Basic definitions

Your project is built with the JAMstack if it meets three key criteria:

  1. Javascript

    • Any dynamic programming during the request/response cycle is handled by JavaScript, running entirely on the client. This could be any frontend framework, library, or even vanilla JavaScript.
  2. APIs

    • All server-side processes or database actions are abstracted into reusable APIs, accessed over HTTPS with JavaScript. These can be custom-built or leverage third-party services.
  3. Markup

    • Templated markup should be prebuilt at deploy time, usually using a site generator for content sites, or a build tool for web apps.

Additional links

108 questions
3
votes
1 answer

Environment variables in Netflify CMS manual initialization (Gridsome)

I'm building a website with Gridsome and Netlify CMS, hosted with Netlify. The Netlify CMS stuff is located in /static/admin. I'm manually initializing the Netlify CMS in an index.js to change the branch on which it pushes depending on an…
3
votes
1 answer

When to use Static site generator?

I have a web application that has login and role-based contents etc. which is created in nuxt (framework for vue)using universal mode .currently it is SSR(server-side rendering) app but Is it correct if convert it into static site using nuxt…
sudhakar selva
  • 387
  • 4
  • 16
2
votes
1 answer

Rendering routes with 2 or more route parameters with AnalogJS?

I have routes of that are defined like this: { path: ':category/:topic', component: TopicComponent, data: ROUTE_DATA, resolve: { topic: topicResolver }, canActivate: [topicGuard] }, The AnalogJS documentation explains how to…
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
1 answer

Safari browser failing page hydration

Our website uses JS to do partial page hydration to avoid downloading the entire page when navigating within the website. We have been getting reports from Safari browser users that when they click a nav link, they loose all the content (but the…
Tom
  • 2,928
  • 4
  • 28
  • 36
2
votes
2 answers

Which rendering mode to choose with Nuxt? SPA, SSR, SSG?

I'm still new to web dev and trying to build an Ecommerce app using Nuxt and Strapi as a CMS to enable the website owner (which in this case is also me) to easily add/edit/remove products. I've found a lot of articles about this topic and got really…
Muhammad Mahmoud
  • 621
  • 1
  • 5
  • 21
2
votes
3 answers

Cloudflare Pages - Cloudflare Workers

So i started to get my hands dirty with cloudflare pages and workers My thought is get a domain mydomain.com (done) make a static site @ github myaccount.github.io (done) make a cloudflare pages page add CNAME to DNS ZONE (done) so…
2
votes
0 answers

How to get Dynamic zones like functionality (strapi) in Directus? They say we can impliment using there newer Many-To-Any

so I'm using directus as my new backend as strapi has gotten buggy over the time and it's slower. Few things I miss from strapi are Dynamic Components/Zone Example- We have 3 components A (title) - B (Image) - C (Markdown) On one page/post I want…
2
votes
1 answer

With JAM stack, is there any performance cost to host app in firebase hosting while run the backend in AWS?

I am wondering if this is a bad practice. Is there any performance cost to decouple hosting service from the vendor for other infrastructures?
Yan
  • 577
  • 6
  • 14
2
votes
3 answers

Page