The JAMstack
is a modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup.
The key aspects of a JAMstack application are the following:
And here’s a fun fact: 70% - 80% of the features that once required a custom back-end can now be done entirely on the front-end.
In this article, we will learn how to build a JAMstack application that has:
And finally we’ll deploy it over a CDN.
We will build an image gallery. I love movies, so I have decided to create an image gallery of my favorite actors. I have a fun name for it to: imaginary
.
We will use a media management service called Cloudinary to host and manage our images. It also provides developer APIs to upload and fetch media such as images, videos, and so on
We will use a framework called Gatsby to build the front-end of the image gallery. Gatsby
is a React-based open-source framework for creating websites and apps.
Finally, we will learn how to deploy the app to a CDN with an automatic build and deploy process. We will use Netlify CDN for this.
At the end of the article, our imaginary
app will look like this:
Image Gallery app - Final Look
We will learn things with a step-by-step approach in this article. If you want to jump into the source code or demonstration sooner, here are links to them.
Now let’s get started.
#gatsby #cloudinary #jamstack #api #javascript