{"id":15987306,"url":"https://github.com/andraxdev/json-database-api","last_synced_at":"2026-04-12T10:47:18.122Z","repository":{"id":227844763,"uuid":"772533601","full_name":"AndraxDev/json-database-api","owner":"AndraxDev","description":"A simple JSON database API that allows you to create, read, update and delete data from a JSON file.","archived":false,"fork":false,"pushed_at":"2024-03-16T12:04:58.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T06:41:48.599Z","etag":null,"topics":["api","database","docker","flask","json","nosql","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AndraxDev.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-03-15T11:33:42.000Z","updated_at":"2024-03-15T11:35:48.000Z","dependencies_parsed_at":"2024-03-16T13:41:19.370Z","dependency_job_id":null,"html_url":"https://github.com/AndraxDev/json-database-api","commit_stats":null,"previous_names":["andraxdev/json-database-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndraxDev%2Fjson-database-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndraxDev%2Fjson-database-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndraxDev%2Fjson-database-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndraxDev%2Fjson-database-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndraxDev","download_url":"https://codeload.github.com/AndraxDev/json-database-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247256116,"owners_count":20909240,"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":["api","database","docker","flask","json","nosql","python"],"created_at":"2024-10-08T03:22:46.556Z","updated_at":"2025-12-30T23:07:53.355Z","avatar_url":"https://github.com/AndraxDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Database API\r\n\r\n## Introduction\r\n\r\nThis is a simple JSON database API that allows you to create, read, update and delete data from a JSON file.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install -r requirements.txt\r\n```\r\n\r\n## Usage\r\n\r\n```bash\r\nflask run\r\n```\r\n\r\n## Endpoints\r\n\r\n### GET /api/v1/read\r\n\r\nThis endpoint returns all the data from the JSON file.\r\n\r\n### GET /api/v1/write\r\n\r\nThis endpoint allows you to write data to the JSON file. If key already exists, it will be updated.\r\n\r\n### GET /api/v1/delete\r\n\r\nThis endpoint allows you to delete data from the JSON file.\r\n\r\n## Params\r\n\r\n***path*** - The path to the JSON value. Example: `path=users/0/name` will return data at `users[0]['name']` in the JSON file `{\"users\": {\"0\": {\"name\": {\u003cRETURN VALUE HERE\u003e}}}}`.\r\n\r\n***value*** - The value to write to the JSON file. Example: `value=John` will write `John` to the JSON file. JSON strings are supported.\r\n\r\n***type*** - The type of the value to write to the JSON file. Example: `type=string` will write `John` as a string to the JSON file. Supported types: `string`, `json`, `float`, `bool`, `null`. If `type` is not provided, the value will be written as a JSON. If `null` is provided, the value will be deleted from the JSON file.\r\n\r\n## Example\r\n\r\n```bash\r\ncurl -X GET \"http://localhost:5000/api/v1/read?path=users/0/name\"\r\n```\r\n\r\nwill return\r\n\r\n```json\r\n{\r\n  \"value\": \"John\"\r\n}\r\n```\r\n\r\n## License\r\n\r\n```angular2html\r\nCopyright (c) 2024 Dmytro Ostapenko. All rights reserved.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandraxdev%2Fjson-database-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandraxdev%2Fjson-database-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandraxdev%2Fjson-database-api/lists"}