Skip to content

qubeshub/Open-Metadata-Exchange

 
 

Repository files navigation

OME Readme

Distributed / Decentralized Network for Open Metadata Exchange

ome_build ome_docs

High Level "what connects to what"

sequenceDiagram
	participant Browser
	participant FE2-on-NodeServer
	participant FastAPI-Server
	participant InterNetNews

	Browser->>FE2-on-NodeServer: GET localhost:4000/imls
	FE2-on-NodeServer->>Browser: index.html from React app
	Browser->>FE2-on-NodeServer: API calls (it's proxied in DEV mode)
	FE2-on-NodeServer->>FastAPI-Server: Forwarded API calls
	FastAPI-Server->>InterNetNews: Query as appropriate
        InterNetNews->>FastAPI-Server: Metadata response
	FastAPI-Server->>FE2-on-NodeServer: API Data response
	FE2-on-NodeServer->>Browser: API Data response
Loading

Run the components

For local development and testing, start two INN2 servers, two FastAPI servers, and two React front ends with:

docker compose build
docker compose up
open http://localhost:5001

FE2 NodeServer

cd fe2
npm ci
npm run start
# Wait for `webpack x.y.z compiled successfully`
open http://localhost:4000/imls

Additional bits

For those wanting to "integrate" with OERCommons (either from the local dev environment, or - with some changes to the script - the production environment). Install tampermonkey if you're using Google Chrome, and then install the script that is in tools/monkeyscript/OERCommons.tampermonkey_script.js so that you get a button on OERCommons details page to export items from OERCommons into the locally running OME. This allows you to see how you might export - in a very proof-of-concept way - from your local library software to the OME.

About

Distributed / Decentralized Network for Open Metadata Exchange

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.3%
  • SCSS 22.8%
  • Python 16.7%
  • HTML 1.3%
  • Vue 0.9%
  • JavaScript 0.8%
  • Other 0.2%