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

How to insert params into netlify functions?

I have an input that sends an api call on submit to the unsplash API. I am trying to convert this into a netlify function but am not sure how to pass the params from the input into the function. I am trying to keep the API key hidden. I've never…
Ren
  • 171
  • 15
0
votes
1 answer

What is the equivalent of getStaticPaths in Sapper?

In NextJS there is a function getStaticPaths that tells NextJS which routes are actually available when doing an export. A typical example is a blog that has posts available at /post/[id]. Let's say there are two posts with the ID's 1 and 2. In this…
jz22
  • 2,328
  • 5
  • 31
  • 50
0
votes
1 answer

How to randomly render Contentful data to div onClick using React/GatsbyJS

Gatsby/React noob here. I have created a content type called Topic in Contentful. Each Topic contains a title, desc, and slug to the topic page. Currently, I am able to render each topic as a card on the page. What I am trying to figure out now is…
whoMe
  • 227
  • 2
  • 13
0
votes
1 answer

How to rebuild my Gatsby project with any changes in the api and database?

I get the data from rest api and I want to be rebuild Automatically again with any changes in the api and database and fetch new data please help me..
0
votes
1 answer

Serve different page based on variable with Nginx

I have a nuxt generated JAMStack website with i18n. Generated pages are located in en and ru folders. I'm calculating user's locale and serving content from the corresponding folder: map $http_accept_language $fallback_lang { ~en en; ~ru…
kyrsquir
  • 51
  • 6
0
votes
1 answer

Twilio video without a backend?

Do I still need a backend to generate access tokens for Twilio video? Twilio's programmable video documentation talks about the client-side room creation option which can let us "get up and running without writing backend…
Qasim
  • 1,554
  • 1
  • 13
  • 22
0
votes
0 answers

error Error: ER_BAD_FT_COLUMN: Column 'size' cannot be part of FULLTEXT index

I am developing a project with strapi. In development mode everything Okay. When I run the project (after creating some content type) in production mode in ubuntu server with the command NODE_ENV=production npm run start this shows the following…
Shamim
  • 635
  • 2
  • 12
  • 28
0
votes
0 answers

Looking for a CMS that integrates with a custom DB

I'm having an issue with a project I'm working on. I have an app with its own db that contains the users and their credentials. I want to have a headless CMS that manages some blogs to avoid writing one of my own, but I can't seem to find a CMS that…
0
votes
0 answers

How to use Netlify CMS with Novela theme?

I want to use Netlify CMS with Novela theme. The structure is here: https://github.com/narative/gatsby-theme-novela#step-2-folder-structure In particular, there are subfolders to "posts", and images are stored in individual folders (and not in a…
Mostafa
  • 1,501
  • 3
  • 21
  • 37
0
votes
1 answer

JAMstack SSG + Angular...can we have parts of a page statically generated and part of the page be dynamic?

I'm researching Jamstack and SSG's (Static Site Generator) such as Hugo and Scully to use with our Angular SPA to decrease file sizes and to speed up loading. All the examples that I have seen generate pages that don't have dynamic content. There is…
milesmeow
  • 3,688
  • 5
  • 35
  • 58
0
votes
1 answer

How do I host an SSL static site using S3 and Namecheap?

Note: sitenamehere is not the name of the site. Redacted it for personal reasons. I've got a static site sitting at http://www.[sitenamehere].site.s3-website-us-west-1.amazonaws.com/ -- it's working fine, publicly accessible. I want to make it…
jcollum
  • 43,623
  • 55
  • 191
  • 321
0
votes
1 answer

Gatsby + Wordpress how to create an image carousel?

I'm new to JAMstack and I would like to know what is the best way to create an image carousel using Gatsby and Wordpress.
Michele
  • 15
  • 5
0
votes
1 answer

How to build a GDPR compliant git-based static page?

When processing personal data, the European GDPR requires the deletion of specific personal data under certain circumstances "right to be forgotten". If there is personal data in the content of a git-based static page, it will be part of the git…
Mue
  • 434
  • 5
  • 12
0
votes
0 answers

Self-Hosted Ghost Blog: How can I switch from development to production?

I've installed the Ghost CMS locally and wrote a few blog posts. I'm pretty much ready with the blog and want to change the environment from local to production. I've tried to run this code to push my local Ghost environment from local to…
0
votes
1 answer

Call a lambda function from a websub service as a callback url

I want to get push notification when user uploads a new video in his/her youtube channel. I have set up a lambda function to trigger the netlify incoming webhook. And I have to call the lambda function as a callback url in the websub. Now What will…
Sujoy Saha
  • 220
  • 1
  • 13