{"id":21905848,"url":"https://github.com/jcmdsbr/node-ts-basic-concepts","last_synced_at":"2026-04-05T23:37:40.230Z","repository":{"id":117404619,"uuid":"301519783","full_name":"jcmdsbr/node-ts-basic-concepts","owner":"jcmdsbr","description":"Learning node using typescript, express and mongo","archived":false,"fork":false,"pushed_at":"2021-04-03T19:18:28.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-22T07:19:29.425Z","etag":null,"topics":["body-parser","express","mongoose","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","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/jcmdsbr.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":"2020-10-05T19:35:29.000Z","updated_at":"2021-04-10T00:01:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc4bd7a1-a3e5-46b9-bac4-6e9411af5d76","html_url":"https://github.com/jcmdsbr/node-ts-basic-concepts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcmdsbr/node-ts-basic-concepts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcmdsbr%2Fnode-ts-basic-concepts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcmdsbr%2Fnode-ts-basic-concepts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcmdsbr%2Fnode-ts-basic-concepts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcmdsbr%2Fnode-ts-basic-concepts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcmdsbr","download_url":"https://codeload.github.com/jcmdsbr/node-ts-basic-concepts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcmdsbr%2Fnode-ts-basic-concepts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31454199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["body-parser","express","mongoose","nodejs","typescript"],"created_at":"2024-11-28T16:38:34.716Z","updated_at":"2026-04-05T23:37:40.198Z","avatar_url":"https://github.com/jcmdsbr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Node basic concepts in ts using mongodb :sunglasses:\n - Learning node using typescript, express and mongo\n \n## Give a Star! :star:\n\nIf you liked the project, please give a star ;)\n\n## You need some of the fallowing tools :exclamation:\n\n-  Visual Studio Code\n-  Node 8+\n\n## Description :books:\n\nAs an asynchronous event-driven JavaScript runtime, Node.js is designed to build\nscalable network applications. In the following \"hello world\" example, many\nconnections can be handled concurrently. Upon each connection, the callback is\nfired, but if there is no work to be done, Node.js will sleep.\n\n```javascript\n\nclass Startup {\n    \n    app: express.Application;\n\n    constructor() {\n        this.app = express();\n        this.configureServices();\n        this.configure();\n    }\n\n    configureServices() {\n        MongoContext.createConnection();\n        this.app.use(bodyParser.json());\n        this.app.use(bodyParser.urlencoded({ extended: false }));\n    }\n\n    configure() {\n        this.app.route('/').get((req, res) =\u003e {\n            return res.send({ version: '0.0.1' });\n        });\n\n        // news\n        this.app.route('/api/v1/news').get(NewsController.getAsync);\n        this.app.route('/api/v1/news/:id').get(NewsController.getByIdAsync);\n        this.app.route('/api/v1/news').post(NewsController.addAsync);\n        this.app.route('/api/v1/news/:id').put(NewsController.updateAsync);\n        this.app.route('/api/v1/news/:id').delete(NewsController.deleteAsync);\n    }\n}\n```\n### Official Links :construction:\n\n- [child_process.fork](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)\n- [cluster](https://nodejs.org/api/cluster.html)\n- [Event Machine](https://github.com/eventmachine/eventmachine)\n- [Twisted](https://twistedmatrix.com/trac/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcmdsbr%2Fnode-ts-basic-concepts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcmdsbr%2Fnode-ts-basic-concepts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcmdsbr%2Fnode-ts-basic-concepts/lists"}