{"id":18254099,"url":"https://github.com/testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs","last_synced_at":"2026-03-15T21:05:11.211Z","repository":{"id":173347127,"uuid":"650155357","full_name":"testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs","owner":"testcontainers","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T16:49:11.000Z","size":95,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-21T12:44:58.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/testcontainers.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,"zenodo":null}},"created_at":"2023-06-06T13:09:15.000Z","updated_at":"2025-06-18T02:10:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fb331f2-87b1-446c-be71-60197a29ab8a","html_url":"https://github.com/testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.5714285714285714,"last_synced_commit":"36dc58c4d8f59322fda5e99fad620290a80cb941"},"previous_names":["testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs"],"tags_count":0,"template":false,"template_full_name":"testcontainers/tc-guide-template","purl":"pkg:github/testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testcontainers","download_url":"https://codeload.github.com/testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271594377,"owners_count":24786707,"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-22T02:00:08.480Z","response_time":65,"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":[],"created_at":"2024-11-05T10:10:24.449Z","updated_at":"2026-03-15T21:05:11.185Z","avatar_url":"https://github.com/testcontainers.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started with Testcontainers for NodeJS\n\nThis is sample code for [Getting started with Testcontainers for NodeJS](https://testcontainers.com/guides/getting-started-with-testcontainers-for-nodejs) Guide.\n\n## 1. Setup Environment\nMake sure you have NodeJS and a [compatible container runtime](https://node.testcontainers.org/supported-container-runtimes/) installed.\nFor example:\n\n```shell\n$ node -v\nv18.15.0\n\n$ docker version\n...\nServer: Docker Desktop 4.12.0 (85629)\n Engine:\n  Version:          20.10.17\n  API version:      1.41 (minimum version 1.12)\n  Go version:       go1.17.11\n...\n```\n\n## 2. Setup Project\n\n* Clone the repository\n\n```shell\ngit clone https://github.com/testcontainers/tc-guide-getting-started-with-testcontainers-for-nodejs.git\ncd tc-guide-getting-started-with-testcontainers-for-nodejs/src\nnpm install\n```\n\n* Open the **tc-guide-getting-started-with-testcontainers-for-nodejs** project in your favorite IDE.\n\n## 3. Run Tests\n\n```shell\n$ npm test\n```\n\nThe tests should pass.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestcontainers%2Ftc-guide-getting-started-with-testcontainers-for-nodejs/lists"}