{"id":22800838,"url":"https://github.com/colindembovsky/copilot-express-demo","last_synced_at":"2025-03-30T19:26:44.859Z","repository":{"id":172708264,"uuid":"648267108","full_name":"colindembovsky/copilot-express-demo","owner":"colindembovsky","description":"Quick Copilot Demo to show creating code, tests, mocks and Actions","archived":false,"fork":false,"pushed_at":"2023-06-08T13:30:18.000Z","size":101,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-05T22:19:27.075Z","etag":null,"topics":["copilot","expressjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/colindembovsky.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":"2023-06-01T15:16:47.000Z","updated_at":"2023-07-11T06:37:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"632ca4bb-ba3b-4af3-9fe2-63a4ed93c38d","html_url":"https://github.com/colindembovsky/copilot-express-demo","commit_stats":null,"previous_names":["colindembovsky/codespaces-express","colindembovsky/copilot-express-demo"],"tags_count":0,"template":false,"template_full_name":"github/codespaces-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colindembovsky%2Fcopilot-express-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colindembovsky%2Fcopilot-express-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colindembovsky%2Fcopilot-express-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colindembovsky%2Fcopilot-express-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colindembovsky","download_url":"https://codeload.github.com/colindembovsky/copilot-express-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246367791,"owners_count":20765931,"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":["copilot","expressjs"],"created_at":"2024-12-12T08:08:11.479Z","updated_at":"2025-03-30T19:26:44.839Z","avatar_url":"https://github.com/colindembovsky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Copilot Demo 🚀\n\nThis sample repo can be used to generate a quick app with unit tests/mocks and an Actions workflow.\n\n## Walkthrough\n\nHave a browser open with the completed code (on `main`) as your cheat-sheet.\n\n1. Open the `demo-start` branch in a Codespace\n2. Add a new file called `github-wrapper.js`\n3. In a terminal, run `npm install octokit` to install the Octokit package\n4. Create a class/method to get repos for a user\n5. Open `index.js` and add the method call to the method\n6. Show it running in the browser (browse to the corresponding route)\n7. Create a new file called `github-wrapper.test.js`\n8. Run `npm install jest --save-dev` to add Jest\n9. Generate a mock Octokit\n10. Generate the test method\n11. Open `package.json` and add the `test: jest` command in `scripts`\n12. Run `npm run test` to show the test running\n13. Create `.github/workflows/build.yml`\n14. Generate the workflow using Copilot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolindembovsky%2Fcopilot-express-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolindembovsky%2Fcopilot-express-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolindembovsky%2Fcopilot-express-demo/lists"}