graphql-sample-apps
graphql-sample-apps copied to clipboard
add kanban app
This commit used the following commands to include the kanban app as a subtree:
git remote add kanban https://github.com/verneleem/graphql-kanban.git
git subtree add --prefix=kanban --squash kanban verneleem/prepare-one-click
Before this can be deployed:
-
kanban/.env.production
andkanban/src/schema.graphql
needs to be updated with valid Auth0 account config that the sample apps uses with a new application. -
kanban/auth0Rules/ProcessLogin.js
needs to be copied into Auth0's rules for the tenant used in previous step.
I am unsure if the REACT_APP_GRAPHQL_ENDPOINT
variable set in bin/bd.sh
will override the one set in kanban/.env.production
. If it does not override it, then then one in the .env.production
file will need to be removed.
@gja This last commit, should bring this to done, I have no way to test an actual one-click deploy to verify everything is good to go.
If when using this app you get an Error failed to load
in the projects list after logging in, that is due to the login script not waiting for slash to spin up if it was asleep. Let me fix this and change that error message to a loading message and make it refresh without needing to logout and log back in.
Update: https://discuss.dgraph.io/t/access-control-allow-origin-header-missing-on-preflight-check-on-cold-start/12463 It is a preflight request CORs issue on cold start.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
verneleem seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.