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
0
votes
1 answer

Errors with nesting macros and passing a collection through them? Using Eleventy with Nunjucks

Somewhat of a more advanced question here... is it possible to pass a collection down through a few macros? For example, I have a blog posts section: {% from "components/switchers/topCoupons.njk" import topBonuses %} {{ topCoupons( …
kuwts
  • 41
  • 2
0
votes
0 answers

Strapi upload files on many fields but same api

Hello there JAMSTACK people. Actually those who chose strapi JS as their headless CMS of choice. Lets say I have an API named Post, with the following fields. title : text slug : text cover : image reference : image body : long text author :…
Think Digital
  • 129
  • 1
  • 7
0
votes
1 answer

How to use REST API with FaunaDB?

I have created a collection in my Fauna database. I also made an index that returns all the data in that collection. I want to know if there is a way to get JSON REST API to work with this data. What I mean by this is I want a URL that I can 'GET'…
pexeixv
  • 89
  • 7
0
votes
1 answer

When to use NextJS API Routes?

I do not understand what extra functionality do /api/ routes have over getStaticProps and getServerSideProps. I have seen few examples, where people like to make HTTP GET requests using getStaticProps and getServerSideProps and use /api/ route to…
0
votes
0 answers

Nuxt Static Generation Mismatch on Mobile

I'm experiencing a strange problem with Nuxt and Netlify with static generation on a JAMstack e-commerce. I pushed my website on Netlify and everything went good, no error on console in the generation phase. When i visit the generated site on…
sintj
  • 804
  • 2
  • 11
  • 23
0
votes
1 answer

How to make a video play in popup window? starting from iframe

I'm new to building websites and development in general. I'm building a static site with video's in Iframes who these iframes are also in a container div. Like this