This project uses the React framework: next.js
-
To run this application locally you'll need
Node.jsversion 10.13 or later installed. You can check if you already have it by runningnode --versionin your terminal. If you don't, you can install the LTS version from their website. -
After cloning the project, in the root directory, which contains
package.json, run the following commands:npm installor if you are using yarn:
yarn
-
To run the solution:
You can then run:
npm run devor if using yarn:
yarn devThis will run the app in the development mode.
-
Open http://localhost:3000 to view it in the browser.
To run locally use
npm install --force
followed by
npm audit fix --force
and to execute in powershell
$env:NEXT_PUBLIC_GITHUB_TOKEN="<git hub token here>"; npm run dev