Reference implementation for managing the content in a Metamory store
Access to a running Metamory-Server-server.
You can start one locally using docker:
docker pull aeinbu/metamory
docker run -d -p 5000:5000 -v metamory-demo-data:/data \
-e NoAuth=true \
--name metamory-demo-server aeinbu/metamory- While you are developing, you should leave the
serviceBaseUrlattribute in src/App.tsx empty, and set theproxyproperty in package.json to point to URL of the Metamory server. The development server will proxy all calls to Metamory server for you without the need of setting up CORS. - When putting this to production, you should set the
serviceBaseUrlattribute in src/App.tsx to point to the URL of the Metamory server- If the Metamory is running on another domain than the app itself, you must enable CORS both on the server and in the app.
npm install
npm startNavigate to http://localhost:3000
This package is published under the MIT License. (See LICENSE file for more info)