{"id":13448634,"url":"https://github.com/flume-cloud-services/stor","last_synced_at":"2026-01-16T16:04:10.431Z","repository":{"id":57371204,"uuid":"142289053","full_name":"flume-cloud-services/stor","owner":"flume-cloud-services","description":"[DEPRECATED] STOR provides a JSON database with the power of HTTP requests 🚀","archived":false,"fork":false,"pushed_at":"2019-11-02T13:58:30.000Z","size":126,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-08T20:32:15.269Z","etag":null,"topics":["database","firestore","http","json","json-database","self-hosted","stor","stor-database"],"latest_commit_sha":null,"homepage":"https://flume-cloud-services.github.io/stor/","language":"TypeScript","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/flume-cloud-services.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-25T11:11:13.000Z","updated_at":"2023-03-10T21:52:09.000Z","dependencies_parsed_at":"2022-09-26T16:41:12.813Z","dependency_job_id":null,"html_url":"https://github.com/flume-cloud-services/stor","commit_stats":null,"previous_names":["dimensi0n/stor"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/flume-cloud-services/stor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fstor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fstor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fstor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fstor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flume-cloud-services","download_url":"https://codeload.github.com/flume-cloud-services/stor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flume-cloud-services%2Fstor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["database","firestore","http","json","json-database","self-hosted","stor","stor-database"],"created_at":"2024-07-31T05:01:51.200Z","updated_at":"2026-01-16T16:04:10.401Z","avatar_url":"https://github.com/flume-cloud-services.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg width=\"500\" src=\"https://media.discordapp.net/attachments/368671564608045058/480525711283716096/stor.svg.png?width=799\u0026height=549\"/\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/version-1.2-brightgreen.svg\"/\u003e\n    \u003ca href=\"https://github.com/dimensi0n/stor/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n**STOR** provides a JSON database with the power of HTTP requests\n\n## 1. Installation\n\n*You need to install NodeJS first*\n\nJust clone the repository :\n\n    git clone https://www.github.com/dimensi0n/stor.git\n\nAnd run :\n\n    npm install\n\n## 2. Configuration\n\nStor uses Environment variable :\n\n    STOR_MONGO_URI is the link to your MongoDB database\n    STOR_PORT is the port number you want the database to run on\n    STOR_PASSWORD is the token you will write for each request on the request header\n    STOR_CORS is the Cors config object : 1 if cors is enabled, by default is true; 0 if cors is disabled\n    STOR_CORS_WHITELIST (optionnal, the domain you want to be validate) Example: STOR_CORS_WHITELIST=www.mydomain.com,www.myotherdomain.com\n\nOnce you finished to complete this fields just transpile it :\n\n    npx tsc\n\n## 3. Run it\n\nIf you want to run it just for testing you can launch it with this command :\n\n    npm start\n\n## 4. Use it\n\nInstall the official js library :\n\n    npm install stor-js\n\nConnect to your Stor database and select your table :\n```js\nconst stor = require(\"stor-js\");\n\nconst Stor = new stor.Stor(\"link to your Stor database\", \"STOR_PASSWORD\");\n\nlet users = Stor.Table(\"users\");\n```\n\nThen init your Stor database :\n```js\nusers.Init([])\n    .then(res =\u003e res.text())\n    .then(body =\u003e console.log(body))\n```\n### Select All :\n```js\nusers.SelectAll()\n    .then(res =\u003e res.json())\n    .then(body =\u003e console.log(body.content))\n```\n### Create :\n```js\nusers.Create({name:'pierre'})\n    .then(res =\u003e res.text())\n    .then(body =\u003e console.log(body))\n```\n### Get where :\n```js\nusers.Get('name', 'pierre')\n    .then(res =\u003e res.text())\n    .then(body =\u003e console.log(body))\n```\n*Get user when name is 'pierre'*\n\n### Update :\n```js\n    users.Put('name', 'pierre', 'jean')\n    .then(res =\u003e res.text())\n    .then(body =\u003e console.log(body))\n```\n*Update user when name is 'pierre' to 'jean'*\n\n### Delete :\n```js\n    users.Delete('name', 'jean')\n    .then(res =\u003e res.text())\n    .then(body =\u003e console.log(body))\n```\n*Delete user when name is 'jean'*\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflume-cloud-services%2Fstor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflume-cloud-services%2Fstor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflume-cloud-services%2Fstor/lists"}