{"id":21813942,"url":"https://github.com/genaronetwork/service-storage-models","last_synced_at":"2026-05-03T23:32:31.806Z","repository":{"id":91573505,"uuid":"122955346","full_name":"GenaroNetwork/service-storage-models","owner":"GenaroNetwork","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-21T05:44:58.000Z","size":725,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T09:29:12.372Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GenaroNetwork.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":"2018-02-26T10:42:45.000Z","updated_at":"2019-11-06T07:25:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"08d942b1-28f9-4783-8c3d-93c1c1c284c8","html_url":"https://github.com/GenaroNetwork/service-storage-models","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GenaroNetwork/service-storage-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenaroNetwork%2Fservice-storage-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenaroNetwork%2Fservice-storage-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenaroNetwork%2Fservice-storage-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenaroNetwork%2Fservice-storage-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GenaroNetwork","download_url":"https://codeload.github.com/GenaroNetwork/service-storage-models/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GenaroNetwork%2Fservice-storage-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272138874,"owners_count":24880199,"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-25T02:00:12.092Z","response_time":1107,"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-27T14:34:29.776Z","updated_at":"2026-05-03T23:32:26.761Z","avatar_url":"https://github.com/GenaroNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Storj Service Storage Models\n============================\n\n[![Build Status](https://img.shields.io/travis/Storj/service-storage-models.svg?style=flat-square)](https://travis-ci.org/Storj/service-storage-models)\n[![Coverage Status](https://img.shields.io/coveralls/Storj/service-storage-models.svg?style=flat-square)](https://coveralls.io/github/Storj/service-storage-models?branch=master)\n[![GitHub license](https://img.shields.io/badge/license-LGPLv3-blue.svg?style=flat-square)](https://raw.githubusercontent.com/Storj/service-storage-models/master/LICENSE)\n\nCommon storage models for various Storj services\n\n```\nnpm install storj-service-storage-models --save\n```\n\n```js\nvar Storage = require('storj-service-storage-models');\nvar db = new Storage(\n  'mongodb://127.0.0.1:27017/storj-bridge-database-name',\n{\n  auth: {\n    user: 'myuser',\n    pass: 'mypassword'\n  },\n  mongos: {\n    ssl: true\n  }\n},\n{\n  logger: myAwesomeLogger\n});\n\ndb.models.User.findOne({ email: 'gordon@storj.io' }, function(err, user) {\n  if (err) {\n    console.error(err.message);\n  } else {\n    console.info(user);\n  }\n});\n```\n\n\n#### Coinpayments Integration \n\nYou'll have to set Coinpayments environment variables `CP_PUBLIC_KEY` and `CP_SECRET_KEY` in order to get coinpayments client working with the payment processor adapter. \n\n\n\n#### Billing Specific\n\nIf using billing functionality, be sure to include your own `.env` file with necessary environment variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaronetwork%2Fservice-storage-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgenaronetwork%2Fservice-storage-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgenaronetwork%2Fservice-storage-models/lists"}