You can run the project in one of two ways. In both methods, you will need to load the extension into Chrome once it has been built.
-
In the root directory of the project, run:
npm run dev
This will start both the backend and build the extension in development mode.
-
Load the built extension into Chrome:
- Go to chrome://extensions/ in Chrome.
- Toggle on Developer mode in the top-right corner.
- Click Load unpacked and select the
extension/.output/chrome-mv3folder.
-
Run the Extension
- Navigate to the extension directory:
cd extension - Start development mode:
or build the extension:
npm run dev
npm run build
- Load the extension into Chrome:
- Go to chrome://extensions/ in Chrome.
- Toggle on Developer mode in the top-right corner.
- Click Load unpacked and select the
extension/.output/chrome-mv3folder.
- Navigate to the extension directory:
-
Run the Backend
- In the root directory, start the server:
node backend/server.js
- In the root directory, start the server: