@grandstack/graphql-architect v0.0.27
GraphQL Architect
This is a Neo4j Graph App for building GraphQL APIs backed by Neo4j.
Current stack
Create React App Bootstrapper - built with typescript for typechecking, eslint and prettier for formatting and Github actions for CI
Semantic React UI - semantic UI react component library
Fomantic UI - A community fork of semantic UI, that supplies the built stylesheets
React Testing Library - A testing library for react, look at any *.test.tsx
file for reference, that aren't too many atm 😸
Setup
- Clone the repo down and then run
npm install
. - Install public modules and dedupe, then build and pack with
npm run first:install
- Start it up -
npm start
or follow the steps to add to desktop
Development
npm run start
will run the HMR that is part of react-scripts
and allow iteration on actions and styles that are not attached to the neo4j desktop build.
Common Custom Dev Scripts
- dev - runs tests and HMR in parallel
- pack:dev - removes build files and packs the tarball without running build on theming
- pack:clean - removes build files and packs the tarball, runs build on theming
- theme:build - builds files for css theme
- theme:watch - watchs fomantic files in /assets and rebuilds
Theme Dev
If you are planning on doing theme development you can use:
$ cd src/assets/fomantic && npx gulp watch
or
$ npm run theme:watch
This process is fairly time intensive.
Neo4j Desktop Dev
To build for Neo4j Desktop you will need to build everything into the build folder and then zip up the corresponding files and drop them into the installer pane on neo4j Desktop.
npm run pack:dev
- This command may fail the first time you are running in, in which case you can usenpm run build
and thennpm pack
- Once everything is packed start up the current development build of Neo4j desktop (you might need to ask around for this one), it uses port 3000 so make sure to shut down
react-scripts
Turn on development mode in Neo4j desktop
Establish a new graph to work with in the neo4j browser
Start your graph
Drag the tarball into the install panel and open the app
Production
Desktop
For Neo4j Desktop the same packaging process can be used
Web
While still working with limited functionality, the current production url is here: https://gallant-northcutt-5ebc06.netlify.com
This app is hosted on netlify, check with Will Lyons for team access
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago