phaniav / angular-jss-poc

A super small angular+html PoC for Sitecore JSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

A few simple files to illustrate how easy it is to tie into Sitecore JSS.

  • An index.html as the root page
  • An app.js file for the angular
  • A custom pipeline and config to augment the data coming back

What does it do?

It uses Angular to call out to a Sitecore instance with the necesary downloads and serves up content from Sitecore thru the layoutsvc

What do I need for it?

  • Sitecore 9

  • JSS Server Package

  • A home page and an About Us page in the Sitecore instance.

What do I need if for?

  • If you are going headless (pros and cons of headless)
  • If you have developers with strong JavaScript chops and limited .net/mvc devs

How do I use it

Should be as easy as:

  1. Clone, download, whatever, just get these files to your computer

  2. Drop this into a webserver (IIS, Apache, whatever)

  3. Hit the index.html home page.

  4. If you want to use the pipeline, fire up a VS solution/project, build and deploy the binary and config.

A few helpful links

About

A super small angular+html PoC for Sitecore JSS


Languages

Language:HTML 58.9%Language:JavaScript 20.5%Language:C# 20.5%