Skip to content

Input: user profile and requirement profiles. Output: a report about eligibilities (yes, no, missing data)

License

Notifications You must be signed in to change notification settings

Citizen-Knowledge-Graph/matching-engine

Repository files navigation

matching-engine

  • Input: user profile, requirement profiles, datafield constraints, materialization queries
  • Output: a report about eligibilities (yes, no, missing data)

In use in the FörderFunke app.

Local development

# after bumping the @foerderfunke/matching-engine version
npm run build
npm publish
# to run dev.js
npm start

Using this library as dependency

npm install --save @foerderfunke/matching-engine
# package.json
{
  "type": "module",
  "dependencies": {
    "@foerderfunke/matching-engine": "^0.2.0"
  }
}

# dev.js
import { validateUserProfile } from "@foerderfunke/matching-engine"
# ...
let report = await validateUserProfile(userProfileString, datafieldsString)
console.log(report)

# node dev.js

About

Input: user profile and requirement profiles. Output: a report about eligibilities (yes, no, missing data)

Resources

License

Stars

Watchers

Forks

Languages