Run the Backend
make start-dev
Visit the Hasura Console http://localhost:8080
Run the Frontend
cd components/practice-question
yarn install
yarn start
Visit the practice-question web component demo http://localhost:8001/demo/
Install the Hasura CLI locally. This unfortunitely needs to be installed locally until this issue is resolved
Any time we are making changes to the Hasura backend structure (i.e. the database layer) we need to run Hasura in Console mode. This will track all changes in our local file system.
Run the console
make start-dev
A browser window will automatically pop up. Any changes made in that browser session will be tracked as migration changes in your local file system.
cd hasura
hasura migrate apply --admin-secret password
hasura seeds apply --admin-secret password
Install the web component dependencies
cd components/practice-question
npm install
npm start