{"id":17303320,"url":"https://github.com/gregjopa/express-app-testing-demo","last_synced_at":"2025-10-27T04:08:40.730Z","repository":{"id":14228754,"uuid":"16935772","full_name":"gregjopa/express-app-testing-demo","owner":"gregjopa","description":"a simple express app for demonstrating testing and code coverage","archived":false,"fork":false,"pushed_at":"2024-04-04T17:39:54.000Z","size":983,"stargazers_count":94,"open_issues_count":18,"forks_count":112,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-02T12:48:04.414Z","etag":null,"topics":["express","javascript","jest","nodejs","testing"],"latest_commit_sha":null,"homepage":"http://express-app-testing-demo.herokuapp.com/","language":"HTML","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/gregjopa.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":"2014-02-18T03:30:25.000Z","updated_at":"2025-04-17T04:41:51.000Z","dependencies_parsed_at":"2024-11-15T05:02:31.757Z","dependency_job_id":"240a6984-18de-4282-b24c-27974f7b77cc","html_url":"https://github.com/gregjopa/express-app-testing-demo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gregjopa/express-app-testing-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fexpress-app-testing-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fexpress-app-testing-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fexpress-app-testing-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fexpress-app-testing-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregjopa","download_url":"https://codeload.github.com/gregjopa/express-app-testing-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregjopa%2Fexpress-app-testing-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272475022,"owners_count":24940668,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express","javascript","jest","nodejs","testing"],"created_at":"2024-10-15T11:50:07.849Z","updated_at":"2025-10-27T04:08:35.687Z","avatar_url":"https://github.com/gregjopa.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-app-testing-demo\n\nThis project is a simple express app for demonstrating testing and code coverage.\n[Jest](https://facebook.github.io/jest/) and\n[Supertest](https://github.com/visionmedia/supertest) are used for testing.\nJest is also used for mocking functions and measuring code coverage.\nNote that this app only focuses on server-side JavaScript testing.\n\n\n## Requirements\n\n* Node.js - [https://nodejs.org/](https://nodejs.org/)\n\n\n## Getting Started\n\n* Clone the repo\n* Install dependencies with `npm install`\n* Run server with `npm start` and go here:\n[http://localhost:3000/](http://localhost:3000/)\n\n\n## Running Tests\n\n* Run unit and integration tests: `npm test`\n* Run end-to-end tests: `npm run test:e2e`\n\n## Code Coverage Report\n\nA new code coverage report is generated every time `npm test` runs.\nNormally this coverage report is ignored by git.\nThis project includes it in source control so the coverage report can be viewed in the demo app:\n[http://express-app-testing-demo.herokuapp.com/coverage/lcov-report/index.html](http://express-app-testing-demo.herokuapp.com/coverage/lcov-report/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjopa%2Fexpress-app-testing-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregjopa%2Fexpress-app-testing-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregjopa%2Fexpress-app-testing-demo/lists"}