Create a JSS project for the latest versions of JSS and Sitecore
The tooling provided by JSS helps you create a JSS application for the newest version of Sitecore.
To develop a JSS application, you must have:
-
An operating system supported by Node (Mac, Windows, Linux).
-
Node. We recommend using the latest long-term support (LTS) release.
To run a JSS application in production or develop using Sitecore data you must connect your application to a Sitecore instance with the Headless Services module.
Sitecore requires Windows, but the Sitecore instance does not have to be local. You can use a Sitecore instance installed in a virtual machine or on a remote server.
To create a JSS project:
-
In a terminal, invoke the JSS app initializer using the following command and answer the questions when prompted:
RequestResponsenpx create-sitecore-jss
TipFor alternative commands and details, see the documentation for the JSS app initializer .
-
Change the directory to your application folder:
RequestResponsecd my-first-jss-app
-
Start the development server:
RequestResponsejss start