JSS (Sitecore Javascript Services), Tech Preview 4 is now available and you can download it here.
As the official documentation is already up to date, I always recommend it as your first starting point.
In addition, you can find here some useful and practical commands you will frequently need for your next JSS App.
npm install -g @sitecore-jss/sitecore-jss-cli | Install JSS Globally |
jss create my-first-jss-app {vue, react, angular} | Create a JSS App based on Sample Styleguide Template (Using React, Vue or Angular Framework) |
jss start | Start the JSS app |
jss scaffold | Create a JSS Component |
http://myapp.siteco.re/sitecore/api/layout/render/jss?item=/&sc_apikey={YOUR_API_KEY_ID} | Test if your Sitecore instance is running a JSS Server Component |
jss setup | Connect your JSS App to your Sitecore Instance. Will generate /scjssconfig.json |
jss deploy config | Push config patches from JSS App to Sitecore App_Config/Include/zzz |
jss deploy app --includeContent --includeDictionary | Build the JSS App, Generate the app manifest and JSS manifest package and install the package over HTTP on your Sitecore instance |
Bonus
- jss elephant-in-the-room
- jss whats-the-password
Comments by Mohamed Krimi