Skip to content

macaw-cad/react-jss-typescript-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

236 Commits
 
 
 
 

Repository files navigation

Deprecated Notice

This React JSS starter for Sitecore is a few years old. A lot has happened in the mean time:

  • The license for JSS is now included in the Sitecore 10.x license (this is great! No reason NOT to build a headless site on Sitecore!)
  • The Next.js framework has become very popular, and Sitecore provides a JSS JavaScript Rendering SDK for Next.js (see here). This means:
    • Deployment possible to CDN - page caching
    • Static site generation + Incremental Static Generation (ISG)
    • Run on serverless infrastructure (Vercel, Azure - with our new headstart!)
  • Sitecore provides Experience Edge as content delivery server - CDN with JSS and GraphQL endpoint, and hosting of assets (images)
  • Sitecore will provide XM Cloud - a SaaS version of Sitecore XM - in the future

We still prefer the usage of a PaaS version of Sitecore XM, in combination with Next.Js headless JSS - with everything hosted on Azure. That is why we created a new headstart solution nextjs-on-azure:

Run Next.js on Azure Functions with the Microsoft CDN - with examples for Sitecore Headless Services (JSS), consumption of GraphQL. Comes with a headstart for building React components & styling.

This headstart enables hosting of the complete Sitecore solution on Azure, instead of hosting on multiple cloud solutions, in this case Sitecore Cloud + the Vercel cloud (and probably Azure cloud for other parts of the solution).

So checkout nextjs-on-azure and let us know if it works for you!

Quick Start

Welcome to the react-jss-typescript-starter template, the ultimate template to start your Sitecore JSS project with React + TypeScript and deploy it in a Docker container.

If you have Node installed you can get started in four commands, even without having Sitecore running on your machine:

npm install -g @sitecore-jss/sitecore-jss-cli
jss create --repository macaw-interactive/react-jss-typescript-starter --branch develop my-first-jss-app react-typescript
cd my-first-jss-app
jss start

And start reading...

About

React Starter project for Sitecore JSS in TypeScript with frontend running in Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors