- Install the latest LTS version of Nodejs.
- Clone this repository:
git clone git@github.com:neu-info7500-spring-04/bitcoin-explorer.git - Copy the
.env.examplefile and name it.env. - Check that the
GRAPHQL_API_GATEWAY_URLin.envpoints to the API gateway (e.g. Grafbase endpoint). - In the
bitcoin-explorerdirectory, execute:
npm install
npm run codegen
npm run dev
The app should be visible at http://localhost:3000:
- Install the Playwright for testing.
During project initialization, select
falseorNwhen asked to add a GitHub Actions workflow, unless you plan to write an action workflow for testing.
npm init playwright@latest
- Write your tests in
testsdirectory. - Run tests and check the test report:
npx playwright test
npx playwright show-report
