{"id":24844656,"url":"https://github.com/ghost1face/dat-node","last_synced_at":"2025-07-04T21:06:36.793Z","repository":{"id":77520374,"uuid":"134095367","full_name":"ghost1face/dat-node","owner":"ghost1face","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-10T22:28:40.000Z","size":204,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T08:18:25.466Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghost1face.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":"2018-05-19T20:20:26.000Z","updated_at":"2018-06-05T01:31:59.000Z","dependencies_parsed_at":"2023-03-17T10:00:54.120Z","dependency_job_id":null,"html_url":"https://github.com/ghost1face/dat-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ghost1face/dat-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost1face%2Fdat-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost1face%2Fdat-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost1face%2Fdat-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost1face%2Fdat-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghost1face","download_url":"https://codeload.github.com/ghost1face/dat-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost1face%2Fdat-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263619803,"owners_count":23489562,"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":[],"created_at":"2025-01-31T09:31:30.505Z","updated_at":"2025-07-04T21:06:36.743Z","avatar_url":"https://github.com/ghost1face.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## DAT\n\nTODO\n\n## Contributing Code\n\nThese guidelines will help get you started so that you may get your code submitted to us in the form of a pull request ASAP.\n\n### Setting up your environment\n\nFirst and foremost clone or fork and clone the repo and change into the directory of the repo.\n\n```\ngit clone https://github.com/ghost1face/dat-node.git\ncd dat-node\n\nOR\n\ngit clone https://github.com/ghost1face/[YOUR_USERNAME]/dat-node.git\ncd dat-node\n```\n\nNext, install the version of Node.js listed in the `.node-version` or `.nvmrc` file.  This can be managed through common tools such as [nvm](https://github.com/creationix/nvm), [nvm-windows](https://github.com/coreybutler/nvm-windows) or [avn](https://github.com/wbyoung/avn).\n\n```\nnvm install [NODE_VERSION]\nnvm use [NODE_VERSION]\n```\n\nThis can also be automated through one of the above tools, or through bash/command prompt if needed:\n\n```\n// bash\nnodever=$(cat .node-version)\nnvm install $nodever\nnvm use $nodever\n\n// cmd/powershell\nset /p nodever=\u003c.node-version\nnvm install %nodever%\nnvm use %nodever%\n```\n\nInstall all packages:\n\n```\nnpm install\n```\n\n### Testing changes\n\nA test suite is configured for validations to changes.  If a new feature is added, we ask that you add a test validating the feature.  Tests can be run through the command `npm test`.  To successfully execute all tests, `DAT` uses a `Dockerfile` to get started with a preconfigured image and a container for quick database testing.  To get started make sure you have [Docker](https://www.docker.com/community-edition) and any prerequisites installed.  The Dockerfile uses `microsoft/mssql-server-linux:2017-latest` as a base image, windows users make sure to enable Linux Containers on windows.\n\n#### Building DAT Image\n\nNavigate to the `docker` directory and run:\n\n```\n// builds an image from the Dockerfile\ndocker build -t datimage .\n\n// starts a container which runs SQL Server on port 1433\ndocker run -d -p 1433:1433 --name [NAME_TAG] datimage\n\n// now you can stop the container anytime\ndocker stop [NAME_TAG]\n\n// no need to build and run, you can just start your container again\ndocker start [NAME_TAG]\n```\n\n## FAQ\n\nQ: DAT won't work with named instances and integrated security?\nA: No, tedious driver does not support this.  See this issue as a potential way to solve: https://github.com/tediousjs/tedious/issues/118\n\nQ: DAT won't work with integrated security localhost?\nA: SQL Server Network Configuration TCP/IP has to be enabled to listen on port 1433, afterwards restart SQL service\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghost1face%2Fdat-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghost1face%2Fdat-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghost1face%2Fdat-node/lists"}