GRAND is actually an acronym for the following:
- GraphQL
- React
- Apollo
- Neo4j Database
We explored Neo4j throughout this book and GraphQL in the previous section. React is a JavaScript framework used to build web applications. Apollo is the block that will glue together the GraphQL API and the React frontend. Let's see how these things work.
In order to initiate a project using the GRANDstack, we can use the following code:
npx create-grandstack-app <NAME_OF_YOUR_APPLICATION>
The script will ask for our Neo4j connection parameters (bolt URL, username, password, and whether to use encryption or not) and create a directory by using the name of our application. This will contain, among other things, the following elements:
.
├── api
├── LICENSE.txt
├── package.json
├── README.md
└── web-react
As the name suggests...