{"id":44643000,"url":"https://github.com/intersystems/quickstarts-nodejs","last_synced_at":"2026-02-14T19:07:10.536Z","repository":{"id":91897866,"uuid":"167600989","full_name":"intersystems/quickstarts-nodejs","owner":"intersystems","description":"Repo for sample files for Node.js QuickStart","archived":false,"fork":false,"pushed_at":"2024-12-09T16:37:50.000Z","size":731,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-12-09T17:36:44.763Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/intersystems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-01-25T19:21:30.000Z","updated_at":"2024-12-09T16:37:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"83518374-67d9-45b5-81e5-d119d79f04ca","html_url":"https://github.com/intersystems/quickstarts-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intersystems/quickstarts-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersystems%2Fquickstarts-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersystems%2Fquickstarts-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersystems%2Fquickstarts-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersystems%2Fquickstarts-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intersystems","download_url":"https://codeload.github.com/intersystems/quickstarts-nodejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intersystems%2Fquickstarts-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2026-02-14T19:07:09.942Z","updated_at":"2026-02-14T19:07:10.529Z","avatar_url":"https://github.com/intersystems.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quickstart-nodejs\nThis code shows how to use a Node.js application with an InterSytems server. It is used in the online exercise [\u003cspan class=\"urlformat\"\u003eNode.js quickstart\u003c/span\u003e](https://learning.intersystems.com/course/view.php?name=Node.js%20QS).\n\n# Contents\n* `connections.config`: contains connection details, including `ip`, `port`, `namespace`, `username`, `password`.\n* `all_stocks.csv`: contains 1000 stock data from New York Stock Exchange\n\n* `nodeplaystocksTask1.js`: Store test data directly to InterSystems server\n* `nodeplaystocksTask2.js`: Store stock data directly to InterSystems server using a custom structure.\n* `nodeplaystocksTask3.js`: Retrieve stock data directly from InterSystems server\n* `nodeplaystocksTask4.js`: Generate trade data with methods from InterSystems server\n* `nodeplaystocksTask5.js`: Call routine directly to print the version of InterSystems server\n\n# Requirements\n* Instance of [\u003cspan class=\"urlformat\"\u003eInterSystems IRIS\u003c/span\u003e](https://learning.intersystems.com/course/view.php?name=Get%20InterSystems%20IRIS) or another InterSystems server\n* an IDE that supports Node.js (such as **Visual Studio Code**)\n* Install the necessary node modules:\n    * readline-sync (use npm to install)\n    * file-system (use npm to install)\n    * intersystems-iris-native (find in *iris-install-dir*/dev/nodejs/)\n\n# How to run\n1. Clone this repo.\n2. Install the node module requirements, listed above. Install them either globally on your system or locally within this repo. To get the intersystems-iris-native module from a containerized InterSystems server, use a *docker cp* command to copy the intersystems-iris-native directory from /usr/irissys/dev/nodejs/ out of the container into your repo.\n3. In your IDE, open the file`connections.config`. Modify the *IP*, *port*, *username*, and *password* for your InterSystems server.\n5. In a terminal, run the sample code. To run a file, type: `node filename.js`, replacing `filename.js` with the name of the file you want to run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersystems%2Fquickstarts-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintersystems%2Fquickstarts-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintersystems%2Fquickstarts-nodejs/lists"}