Skip to content

frequency-chain/provider-dashboard

Repository files navigation

Provider Dashboard

Dashboard for create and managing a provider account on Frequency.

Powered by create-svelte.

Deploy to GitHub Pages

Developing

npm 
npm install
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of provider-dashboard:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Testing

To run the tests: The end to end tests require that a local instance of the frequency server is running. Clone the frequency server repo from: https://github.com/frequency-chain/frequency and run the following command from the root of the repo:

make start # starts the frequency node

Then if you don't have Playwright installed, install it:

npx playwright install --with-deps

Finally, run tests.

npm run test
npx playwright test