Skip to content

chris-rudmin/moode-ui

Repository files navigation

Moode UI

A React based UI for moode

Building and Running

The webpack bundled site will be built into the ./dist folder.

You can build the application locally using the command

npm run build

You can also start the application locally for development purposes using

npm start

Connecting to a MoOde instance remotely

Required to serve reqests outside of localhost Connect to your moode server, and in the files

/var/www/command/moode.php
/var/www/command/index.php
/var/www/engine-mpd.php
/var/www/engine-cmd.php

add the line

header("Access-Control-Allow-Origin: *");

Set the app server env variable

set APP_SERVER=http://moode.local

Tests

Unit Tests

npm test

UI Component Test

UI Component tests uses an internal Mock Server to serve API endpoint dependencies. The Mock server will be start on the port 8080.

npm run test:e2e

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published