{"id":20048916,"url":"https://github.com/sintef/pds_hb_be","last_synced_at":"2025-08-02T10:10:30.990Z","repository":{"id":38342989,"uuid":"312562063","full_name":"SINTEF/pds_hb_be","owner":"SINTEF","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T16:17:30.000Z","size":1281,"stargazers_count":0,"open_issues_count":17,"forks_count":0,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-01-12T20:43:12.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SINTEF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-13T11:52:44.000Z","updated_at":"2021-08-20T09:05:30.000Z","dependencies_parsed_at":"2023-02-06T06:30:52.519Z","dependency_job_id":null,"html_url":"https://github.com/SINTEF/pds_hb_be","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fpds_hb_be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fpds_hb_be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fpds_hb_be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SINTEF%2Fpds_hb_be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SINTEF","download_url":"https://codeload.github.com/SINTEF/pds_hb_be/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241478388,"owners_count":19969282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-13T11:47:24.550Z","updated_at":"2025-03-02T08:23:57.146Z","avatar_url":"https://github.com/SINTEF.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Back-end for PDS data handbook\n\nThis repository includes the complete back-end for the PDS data handbook application. It includes every endpoint and associated controller, as well as every database model. This README will act as a guide for how to install the back-end and how to run both the server and the tests.\n\n## Installation\n\n### Clone repository\n\nNote: Make sure to have [git](https://git-scm.com/). This can be verified by typing `git --version` in your terminal.\n\nClone the repository by your method of choice. To clone with HTTPS, open your terminal and navigate to the directory in which you want to clone the project. Type:\n\n```\ngit clone https://github.com/SINTEF/pds_hb_be.git\n```\n\n### Install dependencies\n\nNote: Make sure to have [node](https://nodejs.org/en/download/). This can be verified by typing `npm --version`in your terminal.\n\nIn your terminal, navigate to the root directory of the repository you just cloned and type:\n\n```\nnpm install\n```\n\n## Usage\n\nTo run the entire application, see [front-end README](https://github.com/SINTEF/pds_hb/blob/development/README.md)\n\n### Running the server\n\nTo run the back-end of the PDS data handbook, navigate to the root folder and type:\n\n```\nnpm start\n```\n\n_NB: The server will not run if you do not have the environment variables. For the staff of TDT4290, the envionment variables can be found in the repport appendix in the section called \"README for Front-end and Back-end\". In your local repository navigate to the .env file, found in the path `\\src\\config\\.env`, and simply paste the variables found in the appendix. They should be on the format:_\n\n_SECRET_KEY=..._\n\n_mongoURI=..._\n\n_mongoURITest=..._\n\n_PORT=5000_\n\n### Running the tests\n\nTo run the test of the back-end, navigate to the root folder and type:\n\n```\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsintef%2Fpds_hb_be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsintef%2Fpds_hb_be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsintef%2Fpds_hb_be/lists"}