{"id":42643545,"url":"https://github.com/reliefapplications/ems-backend","last_synced_at":"2026-05-13T10:00:55.676Z","repository":{"id":36953868,"uuid":"331908580","full_name":"ReliefApplications/ems-backend","owner":"ReliefApplications","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-08T14:21:55.000Z","size":9522,"stargazers_count":38,"open_issues_count":27,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-08T16:33:54.593Z","etag":null,"topics":["ui-builder"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReliefApplications.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-22T10:12:28.000Z","updated_at":"2026-04-23T14:46:46.000Z","dependencies_parsed_at":"2025-11-22T11:01:36.240Z","dependency_job_id":"3499ead8-6443-4f1a-b113-657d28e6aea9","html_url":"https://github.com/ReliefApplications/ems-backend","commit_stats":null,"previous_names":["reliefapplications/ems-backend"],"tags_count":245,"template":false,"template_full_name":null,"purl":"pkg:github/ReliefApplications/ems-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReliefApplications%2Fems-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReliefApplications%2Fems-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReliefApplications%2Fems-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReliefApplications%2Fems-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReliefApplications","download_url":"https://codeload.github.com/ReliefApplications/ems-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReliefApplications%2Fems-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32977273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ui-builder"],"created_at":"2026-01-29T06:35:49.454Z","updated_at":"2026-05-13T10:00:55.669Z","avatar_url":"https://github.com/ReliefApplications.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"OORT Back-end\n=======\n[![GitHub version](https://img.shields.io/github/v/release/ReliefApplications/ems-backend)](https://img.shields.io/github/v/release/ReliefApplications/ems-backend)\n[![CodeQL](https://github.com/ReliefApplications/ems-backend/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ReliefApplications/ems-backend/actions/workflows/codeql-analysis.yml)\n\n# Introduction\n\nThis back-end uses [Node.js](https://nodejs.org) and runs an [Express server](https://expressjs.com). The app data is stored in a [MongoDB](https://www.mongodb.com) database. It exposes a [GraphQL](https://graphql.org/) API.\n\nIt was made for a Proof of Concept of a UI Builder for WHO.\n\nTo read more about the project, and how to setup the back-end, please refer to the [documentation of the project](https://gitlab.com/who-ems/ui-doc).\n\n*   [Setup](https://gitlab.com/who-ems/ui-doc#how-to-setup)\n*   [Deployment](https://gitlab.com/who-ems/ui-doc#how-to-deploy)\n\n# Utilities\n\nDocker-compose executes nodemon command, which provides an inspector tool.\n\n9229 port is allocated to back-end inspection. You can use inspector with browser tools.\n\nFor Chrome, go to **chrome://inspect)** and click on *inspect* below the remote target.\n\n## Testing\n\nIn order to execute tests locally, you can execute the command:\n```\ndocker-compose -f docker-compose.test.yml run test-server npm run test\n```\n\nOr this command:\n```\nnpm run test\n```\n\nIt is also possible to run tests on a single file, by passing it as a parameter:\n```\ndocker-compose -f docker-compose.test.yml run test-server npm run test -- \u003cpath_to_file\u003e\n```\n\nOr with this command:\n```\nnpm run test -- \u003cpath_to_file\u003e\n```\n\nYou can also limit the tests to one specific folder. For example:\n```\nnpm run test -- --testPathPattern=models\n```\n\nNote: If you're running the tests on Windows, make sure the test command in your `package.json` file is set up correctly. Here's the command that should be in the `scripts` section of your `package.json` file:\n\n```json\n\"test\": \"node --max-old-space-size=8192 ./node_modules/jest/bin/jest.js --logHeapUsage --forceExit\"\n```\nWill only run tests in the **models** folder.\n\n# RabbitMQ\n\nIf management platform is not reachable at 15672, you can use this command ( while containers are running ):\n\n```\ndocker-compose exec rabbitmq rabbitmq-plugins enable rabbitmq_management\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freliefapplications%2Fems-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freliefapplications%2Fems-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freliefapplications%2Fems-backend/lists"}