Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Jumpstart Jamstack Development
  • Table Of Contents Toc
Jumpstart Jamstack Development

Jumpstart Jamstack Development

By : Christopher Pecoraro , Vincenzo Gambino
4.7 (6)
close
close
Jumpstart Jamstack Development

Jumpstart Jamstack Development

4.7 (6)
By: Christopher Pecoraro , Vincenzo Gambino

Overview of this book

Jamstack (JavaScript, API, and Markup) enables web developers to create and publish modern and maintainable websites and web apps focused on speed, security, and accessibility by using tools such as Gatsby, Sanity, and Netlify. Developers working with Jamstack will be able to put their knowledge to good use with this practical guide to static site generation and content management. This Jamstack book takes a hands-on approach to implementation and related methodologies that will have you up and running with modern web development in no time. Complete with step-by-step explanations of essential concepts, practical examples, and self-assessment questions, you'll begin by building an event and venue schema structure, and then expand the functionality, exploring all that the Jamstack has to offer. You’ll learn how an example Jamstack is built, build structured content using Sanity to create a schema, use GraphQL to expose the content, and employ Gatsby to build an event website using page and template components and Tailwind CSS Framework. Lastly, you’ll deploy the website to both, a Netlify server and the Microsoft Static Web Apps Service, and interact with it using Amazon Alexa. By the end of this book, you'll have gained the knowledge and skills you need to install, configure, build, extend, and deploy a simple events website using Jamstack.
Table of Contents (17 chapters)
close
close

Modeling content with schemas

The schema is the heart of Sanity. It is a file that defines the structure of an entity, which could either represent something physical that occurs in nature, for example, a person, such as an author, or something abstract, such as a category, as demonstrated in Chapter 3, Exploring Sanity Studio. These structures and the collections of them, optionally linked together, are what drives the user experience in Sanity Studio.

In the next sections, we will clone the project, and work with the project's schemas.

Cloning the project

In Chapter 3, Exploring Sanity Studio, the create tool automatically created a repository in GitHub. To clone a repository, the git command-line tool is needed. Git is a source code management tool created by the inventor of the Linux kernel, Linus Torvalds. Installation instructions for each operating system can be found at https://git-scm.com/.

Following the standard steps for cloning a repository, type the following...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Jumpstart Jamstack Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon