12 lines
574 B
Markdown
12 lines
574 B
Markdown
React App:
|
|
React Hooks are used for Authentication ONLY to ensure the correct web token is passed.
|
|
|
|
GraphQL API:
|
|
Hasura is hosted on another dyno. Several environmental variables are required, including disabling the console.
|
|
ALL CHANGES MUST BE MADE USING LOCAL CONSOLE TO ENSURE DATABASE MIGRATION FILES ARE CREATED.
|
|
|
|
To Start Hasura CLI:
|
|
npx hasura console --admin-secret Dev-BodyShopAppBySnaptSoftware!
|
|
|
|
Migrating to Staging:
|
|
npx hasura migrate apply --up 10 --endpoint https://bodyshop-staging-db.herokuapp.com/ --admin-secret Staging-BodyShopAppBySnaptSoftware! |