{"id":20205965,"url":"https://github.com/23andme/api-example-express","last_synced_at":"2025-04-10T12:14:32.264Z","repository":{"id":5219639,"uuid":"6395661","full_name":"23andMe/api-example-express","owner":"23andMe","description":"A Node.js/Express app built on 23andMe's API, checking an ACVR1B mutation for higher muscle strength.","archived":false,"fork":false,"pushed_at":"2024-03-26T10:26:42.000Z","size":58,"stargazers_count":29,"open_issues_count":2,"forks_count":17,"subscribers_count":71,"default_branch":"master","last_synced_at":"2025-03-24T11:07:37.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Red5/red5-server","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/23andMe.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-10-25T22:38:56.000Z","updated_at":"2024-06-19T10:10:16.000Z","dependencies_parsed_at":"2022-08-19T15:20:29.457Z","dependency_job_id":"8659a537-6613-4efc-8609-2f0a5517bedf","html_url":"https://github.com/23andMe/api-example-express","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/23andMe%2Fapi-example-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23andMe%2Fapi-example-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23andMe%2Fapi-example-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/23andMe%2Fapi-example-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/23andMe","download_url":"https://codeload.github.com/23andMe/api-example-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217082,"owners_count":21066633,"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-14T05:20:21.447Z","updated_at":"2025-04-10T12:14:32.247Z","avatar_url":"https://github.com/23andMe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"api-example-express\n===================\n\nA Node.js/Express app built on 23andMe's API. Checks the ACVR1B gene for high muscle strength.\n\nLocal\n===\nFork and clone the repository:\n```\ngit clone git@github.com:yourname/api-example-express.git\n```\n\nUse ```npm``` to install the latest dependencies:\n```\ncd api-example-express \u0026\u0026 npm install\n```\n\nGet your dev credentials at https://api.23andme.com, and modify your .env file so foreman reads them into environment variables:\n```\nCLIENT_ID=xxxx\nCLIENT_SECRET=xxxx\nREDIRECT_URI=http://localhost:5000/receive_code/\nCOOKIE_SECRET=xxxx\n```\n\nStart foreman locally and go to http://localhost:5000/ to see it in action.\n\n```\nforeman start\n```\n\nHeroku\n===\nI host the app on Heroku. You can, too. Just setup your [Heroku credentials for Node.js](https://devcenter.heroku.com/articles/nodejs) and make sure you update your ```REDIRECT_URI``` on https://api.23andme.com and as a Heroku ```config``` variable to match:\n\n```\nheroku config:set REDIRECT_URI=http://herokuurl.com/receive_code/\n```\nMake sure the ```CLIENT_ID```, ```CLIENT_SECRET```, and ```COOKIE_SECRET``` environment variables are set too.\n```\nheroku config:set CLIENT_ID=xxxx\nheroku config:set CLIENT_SECRET=xxxx\nheroku config:set COOKIE_SECRET=xxxx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F23andme%2Fapi-example-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F23andme%2Fapi-example-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F23andme%2Fapi-example-express/lists"}