JAMstack is a modern way of building web applications. In JAMstack, the J stands for JavaScript, the A stands for APIs, and the M stands for Markup. These three types of technologies are combined to make web applications.
JavaScript handles the dynamic functionalities. Modern frameworks like React or even vanilla JavaScript can be used for this purpose.
All server-side functions are abstracted into reusable APIs. These APIs can be accessed via JavaScript.
Markup allows developers to create Rich Text that can be converted into HTML. Websites are served as static HTML files.
Hosting static files is cheap.
No need to worry about security exploits as server-side and database functions are delegated.
Static markup can be served via a content delivery network to allow users to get content faster.