Huge Thanks to OST for Hosting!!
Welcome
Hello and Welcome everyone to the first ever JAMStackGR!�If you are joining remotely we are located in Grand Rapids, MI - USA
Agenda:
Why JAMStackGR?
The title of this group has been something very difficult to come up with! For the longest time I wanted to just call it Front End GR. Then decided that was too limiting. It is more than just Front End Web Development. ��There is a fantastic group called GRWebDev, which admittedly will cover very similar material, so anything with Web Dev in the name is out. On that subject why another group if they have it covered, because `MORE`==`BETTER`. My goal is to hit the front of the month while they tend to present at the end of the month. ��We are housed at OST and have 250 Talented Professionals here that can help push this group forward. Yes we will mainly focus on JavaScript, API, and Markup, but with any stack we need great designers so we will cover Figma, Sketch, Adobe XD and more. But wait...isn’t the world going to the cloud?!? YES! so we will also cover �AWS, Azure and GCloud too!
Code of Conduct
Examples of behavior that contributes to creating a positive environment include:
Examples of unacceptable behavior by participants include:
We will be using Dev.to as a reference:
Using Sanity.io as a Backend
Why Sanity?
What Makes Up Sanity.io?
Sanity Studio React.js
Content Editor
You can think of this as your Admin portal, it doesn’t necessarily represent the look of your final product.
AJonP’s Sanity.io
You will notice that it is all about the content, because the Studio on left is not even close to how my site ends up looking.
Portable Text
Portable Text
Portable Text is probably the hardest part about Sanity.io, but once you understand it (not even in great detail) you can see the power it holds.��Portable Text is a JSON based rich text specification for modern content editing platforms. In order words, it's not "an alternative to Markdown", which was designed to be easy for humans to read and write something that would specifically end up as HTML. Portable Text is designed to be a format for text editing interfaces and for serializing into any human-readable format.
Portable Example
Portable Text
[
{
"_key": "<aRandomString>",
"_type": "block",
"style": "normal",
"children": [
{
"_key": "<aRandomString>",
"_type": "span",
"marks": ["strong"],
"text": "Say hi to "
},
{
"_key": "<aRandomString>",
"_type": "span",
"marks": ["strong", "<markDefReference>"],
"text": "Portable Text",
"markDefs": [
"_key": "<markDefReference>"
"_type": "URL",
"link": "https://www.portabletext.org"
]
}
],
"markDefs": []
}
]
HTML
<p>
Say hi to <a href="https://portabletext.org"><strong>Portable Text</strong></a>
</p>
Markdown
[Say hi to **Portable Text**](https://portabletext.org)
Bring your own frontend!
Sanity Starters
Gatsby Starter
Let's start by creating a new Blog with Sanity.io’s Gatsby Starter template!��Gatsby is a Static Site Generator (SSG) built with the React.js framework.
Demo Time!
Gridsome Starter
Let's continue by creating a new Blog with Sanity.io’s Gridsome Starter template!��Gridsome is a Static Site Generator (SSG) built with the Vue.js framework.
Demo Time!
Pause for a Bit, maybe a Stackbit
How can we use Stackbit?
With Stackbit, you can go from 0 to deployed in seconds with these 4 simple steps:
Jekyll Starter on Stackbit
Now we will use Sanity.io to ��Gridsome is a Static Site Generator (SSG) built with the Vue.js framework.
Demo Time!
Useful Links