{"id":19580862,"url":"https://github.com/orcid/share-my-id","last_synced_at":"2025-04-27T09:32:44.649Z","repository":{"id":12696527,"uuid":"72571457","full_name":"ORCID/share-my-id","owner":"ORCID","description":"Simple MEAN app for creating collections of authenticated ORCID iDs","archived":false,"fork":false,"pushed_at":"2023-07-11T17:23:52.000Z","size":4992,"stargazers_count":7,"open_issues_count":23,"forks_count":8,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-04T23:33:11.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://share-my-id.orcid.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ORCID.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-11-01T19:57:01.000Z","updated_at":"2024-09-11T08:19:38.000Z","dependencies_parsed_at":"2022-08-28T03:50:37.934Z","dependency_job_id":"a69c77ec-de67-4c03-9468-b1e7e878788d","html_url":"https://github.com/ORCID/share-my-id","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fshare-my-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fshare-my-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fshare-my-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ORCID%2Fshare-my-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ORCID","download_url":"https://codeload.github.com/ORCID/share-my-id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251118784,"owners_count":21539189,"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-11T07:30:36.406Z","updated_at":"2025-04-27T09:32:44.272Z","avatar_url":"https://github.com/ORCID.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# share-my-id\nMEAN app for creating collections of authenticated ORCID iDs \n\n## Developer Setup\n### Prerequsites\n- [MongoDb Community Server](https://www.mongodb.com/download-center#community)\n- [NodeJS 6.9.0 or higher](https://nodejs.org/en/)\n- [NPM 3 or higher](https://www.npmjs.com/get-npm)\n- [Angular CLI 1.0 or higher](https://github.com/angular/angular-cli)\n- [Mailgun Private API Key](https://help.mailgun.com/hc/en-us/articles/203380100-Where-can-I-find-my-API-key-and-SMTP-credentials-)\n- [Mailgun Public Validation Key](https://help.mailgun.com/hc/en-us/articles/203380100-Where-can-I-find-my-API-key-and-SMTP-credentials-)\n\n### 1. Clone project\n\n```git clone git@github.com:ORCID/share-my-id.git```\n\n### 2. Switch to project directory\n\n```cd ~/git/share-my-id```\n\n### 3. Install node dependencies\n\n```npm install```\n\n### 4. Start mongodb and mongo shell\n\n    \u003cpath to mongo installation directory\u003e/mongod --dbpath \u003cpath to mongo data directory\u003e\n    \u003cpath to mongo installation directory\u003e/mongo\n\nPaths vary depending on your OS and installation method - see [MongoDB Manual](https://docs.mongodb.com/manual) for more info and alternate startup instructions.\n\n### 6. Create database and user (first time only)\n\n     use smid;\n        db.createUser({\n          user: \"smid_user\",\n          pwd: \"devpassword\",\n              roles: [\"readWrite\"]\n        });\n\n### 7. Start app\n\n```npm start```\n\n### 8. Open localhost [http://localhost:8080/](http://localhost:8080/)\n\n## Build and reload changes automatically during development\n\n```npm start``` builds Angular source files into the /dist directory once and starts the server; changes will not be rebuilt/reloaded. To rebuild/reload changes automatically:\n\n1. Install [nodemon](https://github.com/remy/nodemon)\n```npm install -g nodemon```\n\n2. Start node server with nodemon\n```nodemon server.js```\n\n3. In separate tab/window, build the Angular project and watch for changes\n```ng build -w```\n\n## Configure ORCID API credentials\n\nThis example is configured with default test credentials on the ORCID Sandbox. You can optionally supply your own sandbox credentials.\n\n#### 1. Register for sandbox credentials at [http://orcid.org/content/register-client-application](http://orcid.org/content/register-client-application)\n\nWhen registering include the redirect_uri 'https://localhost'\n\n#### 2. Override default config by exporting environment variables\n\nExample in bash:\n\n        export CLIENT_ID='APP-3BI8IQ5O8DREEAVF'\n        export CLIENT_SECRET='35d8f715-9121-440c-ad34-b66cb8c4e884'\n        export ORCID_URL='https://sandbox.orcid.org'\n        export PORT_HTTP='8080'\n        export HOST='http://localhost:8080'\n\n[other systems](https://www.schrodinger.com/kb/1842)\n\n## Configure Mailgun API credentials and mail domain\n\nExample in bash:\n\n        export MAILGUN_PRIV_API_KEY='************************-********-********-'\n        export MAILGUN_PUB_API_KEY='pubkey-************************'\n        export MAILGUN_DOMAIN='********.mailgun.org'","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forcid%2Fshare-my-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forcid%2Fshare-my-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forcid%2Fshare-my-id/lists"}