{"id":23103746,"url":"https://github.com/adam-robson/graph-api","last_synced_at":"2025-10-29T16:35:55.886Z","repository":{"id":266877321,"uuid":"853679789","full_name":"Adam-Robson/graph-api","owner":"Adam-Robson","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-06T17:01:45.000Z","size":611,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T09:41:28.707Z","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/Adam-Robson.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":"2024-09-07T08:15:39.000Z","updated_at":"2024-12-06T17:01:50.000Z","dependencies_parsed_at":"2024-12-06T18:34:10.349Z","dependency_job_id":null,"html_url":"https://github.com/Adam-Robson/graph-api","commit_stats":null,"previous_names":["adam-robson/graph-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adam-Robson%2Fgraph-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adam-Robson%2Fgraph-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adam-Robson%2Fgraph-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Adam-Robson%2Fgraph-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Adam-Robson","download_url":"https://codeload.github.com/Adam-Robson/graph-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247085976,"owners_count":20881158,"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-12-17T00:23:33.300Z","updated_at":"2025-10-29T16:35:55.789Z","avatar_url":"https://github.com/Adam-Robson.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GRAPH\n\nThis is a full-stack TypeScript web application built with Node.js \u0026 Express\nbackend and a React frontend. The app integrates with Microsoft Graph API to\nfetch and display user data.\n\n## Features\n\n1. Fetch and display users from Microsoft Graph API.\n2. Secure authentication using Azure AD client credentials.\n3. CORS-enabled backend for seamless API communication with the frontend.\n4. This application is not deployed to Azure App Service.\n\n## Running the Project Locally\n\n### Environment Variables\n\nThe following environment variables are required for the backend:\n\n- AZURE_TENANT_ID - Your Azure tenant ID.\n- AZURE_CLIENT_ID - The client ID of your Azure AD app registration.\n- AZURE_CLIENT_SECRET - The client secret for the Azure AD app registration.\n- AZURE_SCOPE - The scope for accessing Microsoft Graph API, typically\n  `\u003chttps://graph.microsoft.com/.default\u003e`.\n\n### Prerequisites\n\n- Node.js (v14+)\n- npm or yarn\n- Azure AD app registration with required API permissions (e.g., User.Read.All)\n\n### Clone the repository\n\ngit clone `\u003crepository-url\u003e`\ncd `\u003crepository-directory\u003e`\n\n### Install dependencies\n\n#### Run the install in both client and API\n\n```sh\nnpm install\n```\n\n### Set up environment variables\n\nCreate a `.env` file in the api directory and populate it with the environment\nvariables shown above.\n\n### Run the backend (localhost:7890)\n\n```sh\ncd api\nnpm run dev\n```\n\n### Run the frontend (localhost:7891)\n\n```sh\ncd client\nnpm start\n```\n\nWebpack should open the browser window for you.\n\n## Feedback\n\nI welcome questions! Feel free to pass on those. I am a collector.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam-robson%2Fgraph-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadam-robson%2Fgraph-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadam-robson%2Fgraph-api/lists"}