Skip to content

Repository files navigation

Moera Web Client

Resources

Installation instructions

  1. As a prerequisite, you need to have Node.js 22.12.0+ installed. Node.js 24 is recommended; if you use nvm, run nvm install and nvm use in the source directory to select the version from .nvmrc.
  2. Go to the source directory.
  3. Install project dependencies with npm install.
  4. By default, the web server that serves the client runs on port 3000. If you want it to run on a different port, change the value of PORT variable in ./run script.
  5. If you use your own naming server, make sure its location is set correctly in client settings.
  6. Execute ./run script.
  7. A new browser tab with the client in it is opened automatically.

Note for WebStorm/IntelliJ users

Select Node.js 22.12.0+ as the project's Node.js runtime in the IDE settings.

The project uses absolute paths for imports. If your IDE complains about non-installed modules, you may do the following (or read the full instructions):

  1. Mark the src/ directory as a Resources Root.
  2. Go to Settings > Editor > Code Style > JavaScript, go to the Imports tab and tick Use paths relative to the project, resource or sources roots.
  3. Go to Settings > Editor > Code Style > TypeScript, go to the Imports tab and tick Use paths relative to tsconfig.json.