{"id":16344453,"url":"https://github.com/siddhant-k-code/poc-browser-indexeddb","last_synced_at":"2025-11-06T19:30:36.075Z","repository":{"id":247190899,"uuid":"825218265","full_name":"Siddhant-K-code/poc-browser-IndexedDB","owner":"Siddhant-K-code","description":"Browser IndexedDB","archived":false,"fork":false,"pushed_at":"2024-07-13T12:25:20.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T03:09:30.895Z","etag":null,"topics":["browser","html","indexeddb","javascript"],"latest_commit_sha":null,"homepage":"https://siddhant-k-code.github.io/poc-browser-IndexedDB/","language":"HTML","has_issues":false,"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/Siddhant-K-code.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-07-07T06:36:29.000Z","updated_at":"2024-09-06T01:22:25.000Z","dependencies_parsed_at":"2024-11-07T08:44:25.294Z","dependency_job_id":"b0d17afa-fd61-4a34-8f21-0b65d6a529e1","html_url":"https://github.com/Siddhant-K-code/poc-browser-IndexedDB","commit_stats":null,"previous_names":["siddhant-k-code/poc-browser-indexeddb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fpoc-browser-IndexedDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fpoc-browser-IndexedDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fpoc-browser-IndexedDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Siddhant-K-code%2Fpoc-browser-IndexedDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Siddhant-K-code","download_url":"https://codeload.github.com/Siddhant-K-code/poc-browser-IndexedDB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239501911,"owners_count":19649548,"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":["browser","html","indexeddb","javascript"],"created_at":"2024-10-11T00:28:23.301Z","updated_at":"2025-11-06T19:30:36.032Z","avatar_url":"https://github.com/Siddhant-K-code.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Operating IndexedDB in a Browser\n\n## Introduction\nIndexedDB is a database built into modern browsers, providing a way to store significant amounts of structured data. It allows for high-performance searches and can be used for offline applications. This guide explores how to interact with IndexedDB, highlighting its features and demonstrating basic operations.\n\n## Features of IndexedDB\n- **Online \u0026 Offline Support**: IndexedDB works both online and offline.\n- **Same Origin Policy**: Data is stored per origin (protocol, domain, port).\n- **Key-Value Storage**: Stores data in key-value pairs.\n- **Transactional Database Model**: Supports transactions for reliable data storage.\n- **Asynchronous Operations**: Non-blocking operations for improved performance.\n- **No SQL Required**: Uses JavaScript for database operations instead of SQL.\n\n## Getting Started\nThis guide includes an example HTML setup to demonstrate how to create and manipulate an IndexedDB. The following sections describe various operations that can be performed using IndexedDB.\n\n## Operations\n\n### Creating a Database\nFirst, create a database by pressing the \"Create IndexedDB\" button. This initializes a new database named `MyTestDatabase`.\n\n### Creating an Object Store\nPress the \"Create Object Store in IndexedDB\" button to create an object store within the database. The object store functions similarly to a table in SQL databases and is named `customer`.\n\n### Inserting Data\nRegister data into the object store by pressing the \"Insert Data into IndexedDB\" button. This example uses a predefined data entry with an ID and name.\n\n### Searching for Data\nRetrieve data from the object store by pressing the \"Search Data in IndexedDB\" button. This searches for the previously inserted data.\n\n### Updating Data\nUpdate the existing data in the object store by pressing the \"Update Data in IndexedDB\" button. This changes the name field of the stored data.\n\n### Deleting Data\nRemove data from the object store by pressing the \"Delete IndexedDB Data\" button. This deletes the specified data entry from the store.\n\n### Deleting an Object Store\nRemove the entire object store by pressing the \"Delete IndexedDB Object Store\" button. This deletes the `customer` object store from the database.\n\n### Deleting a Database\nCompletely delete the database by pressing the \"Delete IndexedDB\" button. This removes `MyTestDatabase` from the browser's storage.\n\n## Additional Information\n- **Developer Tools**: Keep your browser's developer tools open to view the execution results and any error messages.\n- **Data Persistence**: Data may not immediately disappear from the developer tools after deletion; refresh the view to see the changes.\n- **Security**: Ensure to understand security implications and best practices when using IndexedDB.\n\n## Conclusion\nThis guide provides a basic overview of using IndexedDB to manage data within a browser. IndexedDB is a powerful tool for front-end development, offering capabilities that were traditionally reserved for backend databases. Explore and experiment with IndexedDB to fully leverage its potential in your web applications.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fpoc-browser-indexeddb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhant-k-code%2Fpoc-browser-indexeddb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-k-code%2Fpoc-browser-indexeddb/lists"}