{"id":13512476,"url":"https://github.com/inversify/inversify-express-example","last_synced_at":"2025-03-30T22:32:52.390Z","repository":{"id":9328092,"uuid":"61708806","full_name":"inversify/inversify-express-example","owner":"inversify","description":"The official express + inversify+ inversify-express-utils examples","archived":false,"fork":false,"pushed_at":"2024-03-26T10:26:30.000Z","size":302,"stargazers_count":268,"open_issues_count":6,"forks_count":81,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-04-15T11:46:37.659Z","etag":null,"topics":["dependency-injection","express","inversifyjs","inversifyjs-examples","inversion-of-control","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","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/inversify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2016-06-22T10:02:00.000Z","updated_at":"2024-05-21T22:43:23.214Z","dependencies_parsed_at":"2024-05-21T22:43:21.256Z","dependency_job_id":"5a0295be-9adc-4198-a076-319fb870c7d6","html_url":"https://github.com/inversify/inversify-express-example","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/inversify%2Finversify-express-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inversify%2Finversify-express-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inversify%2Finversify-express-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inversify%2Finversify-express-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inversify","download_url":"https://codeload.github.com/inversify/inversify-express-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390877,"owners_count":20769476,"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":["dependency-injection","express","inversifyjs","inversifyjs-examples","inversion-of-control","mongodb","nodejs"],"created_at":"2024-08-01T03:01:54.165Z","updated_at":"2025-03-30T22:32:47.373Z","avatar_url":"https://github.com/inversify.png","language":"TypeScript","readme":"# inversify-express-example\n\n[![Travis](https://img.shields.io/travis/inversify/inversify-express-example.svg?style=flat-square\u0026label=Travis)](https://travis-ci.org/inversify/inversify-express-example)\n[![Dependencies](https://david-dm.org/inversify/inversify-express-example.svg)](https://david-dm.org/inversify/inversify-express-example#info=dependencies)\n[![img](https://david-dm.org/inversify/inversify-express-example/dev-status.svg)](https://david-dm.org/inversify/inversify-express-example/#info=devDependencies)\n[![img](https://david-dm.org/inversify/inversify-express-example/peer-status.svg)](https://david-dm.org/inversify/inversify-express-example/#info=peerDependenciess)\n\n\u003eThe official express + inversify + inversify-express-utils example\n\n## Use examples\n\nFirst of all run `npm install`\n\nYou can start a example by using `ts-node` \n```\n$ npm install -g ts-node\n$ ts-node \u003cexample\u003e/bootstrap\n```\nThis will start up the server and you can use the example\n\nIf you want to run the unit tests, simply use `npm test \u003cexample\u003e/**/*.spec.ts`\n\nTo run all tests simply run `npm run test:all`\n\n## Currently available examples\n\nName    | Description\n------- | -------------------------------------------------------------------------------------------------------------------------------\nBasic   | A really basic example. Nothing too fancy.\nMongoDB | Similar to the basic example. This time with MongoDB and some middleware. For detailed information see the readme in the folder.\nBindingDecorators | Similar to the basic example. This time with inversify-binding-decorators.\nMiddlewareInjection | A small example that shows how to inject middleware into controllers.\nPostgresAndTypeORM | A small example that shows how to integrate inversify-express-utils with TypeORM.\n","funding_links":[],"categories":["TypeScript","TypeScript 工具/库/框架"],"sub_categories":["Ioc"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finversify%2Finversify-express-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finversify%2Finversify-express-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finversify%2Finversify-express-example/lists"}