A GraphQL-based gateway to interact with Documize. Initally providing search functionality.
cp .env.production.example .env.production
npm install
npm run build
npm start
this app is leveraging the bcdk, many of the processes to build and deploy have been abstracted into scripts within
.pipeline/
To build:
open up a pr in github
- change into pipeline directory
cd .pipeline/.lib
- install project dependencies
npm install
npm run build -- --pr=<pr number>
This will build the application in the tools namespace as configuired in./.pipeline/lib/config.js
To deploy:
cd .pipeline/.lib
npm install
(if not already run)npm run deploy -- --pr=<pr number> --env=<dev|test|prod>
please note that eventually build and deploy should and will be controlled via a jenkins job. This will automatically build/deploy on the creation of a pr.
graphql queries can be introspected with graphql visualization tools like GraphQlPlayground
query {
search(searchString: "foo", limit: 10) {
id
...
...
}
}