- Setup your node version to match the one specified in the
.nvmrcfile. (Check outfnmfor easy node version management)
This repository uses Yarn as its package manager. To install the dependencies, run:
yarnTo run the Apps locally, you'll first have to create your Wix App to have permissions to work with the Wix CLI (you won't have permissions on the Apps in this repository unless you are a Collaborator).
- Go to Wix Developers and sign in with your Wix account.
- Click on the My Apps tab.
- Click on the Create New App button.
- Copy the
App IDof your new App. - Replace the
appIdvalue in the relevantwix.config.json.
To run the local development server, run the following command in the relevant App directory:
yarn devThis repository uses ESLint to enforce a consistent code style and best practices. Make sure to lint your code before committing, or configure your IDE to lint and format on save.
Changes to the Apps in this repository should be covered by tests. The repository uses Vitest as the test runner, and we strive to cover our code with integration tests. Check out the existing tests to get an idea of what tests to write. To run the tests, run the following command in the relevant App directory:
yarn test