joeflack4 / grand-stack-starter

Simple starter project for GRANDstack full stack apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GRANDstack Starter

This project is a starter for building a GRANDstack (GraphQL, React, Apollo, Neo4j Database) application. There are two components to the starter, the UI application (a React app) and the API app (GraphQL server).

Quickstart

Neo4j

You need a Neo4j instance, e.g. a Neo4j Sandbox, a local instance via Neo4j Desktop, Docker or a Neo4j instance on AWS, Azure or GCP or Neo4j Cloud

For schemas using the @cypher directive via neo4j-graphql-js, you need to have the APOC library installed, which is automatic in Sandbox, Cloud and a single click install in Neo4j Desktop.

Install dependencies

(cd ./ui && npm install)
(cd ./api && npm install)

Start API server

cd ./api && npm start

This will start the GraphQL API in the foreground, so in another terminal session start the UI development server:

Start UI server

cd ./ui && npm start

This project is licensed under the Apache License v2. Copyright (c) 2018 Neo4j, Inc.

About

Simple starter project for GRANDstack full stack apps

License:Apache License 2.0


Languages

Language:JavaScript 90.5%Language:HTML 8.0%Language:CSS 1.5%