{"id":23286673,"url":"https://github.com/allnulled/sqlite-data-system","last_synced_at":"2025-04-06T15:34:04.480Z","repository":{"id":268792517,"uuid":"905484111","full_name":"allnulled/sqlite-data-system","owner":"allnulled","description":"Auth and Rest data with sqlite for node.js and browser through the same API.","archived":false,"fork":false,"pushed_at":"2024-12-20T23:23:02.000Z","size":358,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T05:32:57.492Z","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/allnulled.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":"2024-12-18T23:27:29.000Z","updated_at":"2024-12-20T23:23:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc8d4e57-6a41-4c63-8844-03f8265c56ff","html_url":"https://github.com/allnulled/sqlite-data-system","commit_stats":null,"previous_names":["allnulled/sqlite-data-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fsqlite-data-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fsqlite-data-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fsqlite-data-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allnulled%2Fsqlite-data-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allnulled","download_url":"https://codeload.github.com/allnulled/sqlite-data-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247503526,"owners_count":20949454,"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":"2024-12-20T02:14:02.376Z","updated_at":"2025-04-06T15:34:04.474Z","avatar_url":"https://github.com/allnulled.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlite-data-system\n\nAuth and Rest data system with sqlite for node.js and browser through the same API.\n\n## Installation\n\n### In node.js\n\n```sh\nnpm i -s @allnulled/sqlite-data-system\n```\n\nThen in javascript:\n\n```js\nconst SqliteDataSystem = require(\"@allnulled/sqlite-data-system\");\nconst datasys = SqliteDataSystem.create();\n```\n\n### In browser\n\n```html\n\u003cscript src=\"node_modules/@allnulled/sqlite-data-system/dist/sql-wasm.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"node_modules/@allnulled/sqlite-data-system/dist/sqlite-data-system.bundled.js\"\u003e\u003c/script\u003e\n```\n\nThen in javascript:\n\n```js\nconst datasys = window.SqliteDataSystem.create();\n```\n\nAlso, move **both files** `test/browser/sql-wasm.js` and `test/browser/sql-wasm.wasm`, one beside the other, to the same directory of the `*.html` you are using them in, so you can load the sqlite for the browser library, which works with `*.wasm` file.\n\n## Usage\n\nSee the [tests](./test) with mocha to get the idea of the API.\n\n## Use cases\n\n- Database-oriented applications\n- Targeting browser and node.js\n- Based on SQLite\n- Requiring a REST system (because the Auth system in the front is like a bit senseless)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fsqlite-data-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallnulled%2Fsqlite-data-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallnulled%2Fsqlite-data-system/lists"}