{"id":19750759,"url":"https://github.com/keval-gandevia/customsqldatabase","last_synced_at":"2026-04-17T08:31:51.458Z","repository":{"id":254304538,"uuid":"846124486","full_name":"Keval-Gandevia/CustomSQLDatabase","owner":"Keval-Gandevia","description":"A Java-based prototype DBMS with a console interface. It supports SQL queries for creating, selecting, and inserting data, includes two-factor authentication, and manages transactions with ACID properties. Data is stored persistently in a custom text format, adhering to SOLID design principles.","archived":false,"fork":false,"pushed_at":"2024-08-22T15:46:30.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T08:31:51.164Z","etag":null,"topics":["acid","console-application","custom-database","java","mfa","mysql","solid-principles"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Keval-Gandevia.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-08-22T15:21:57.000Z","updated_at":"2024-08-22T15:46:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed3d0443-27ca-49d8-b5bf-15a307312313","html_url":"https://github.com/Keval-Gandevia/CustomSQLDatabase","commit_stats":null,"previous_names":["keval-gandevia/customsqldatabase"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Keval-Gandevia/CustomSQLDatabase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keval-Gandevia%2FCustomSQLDatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keval-Gandevia%2FCustomSQLDatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keval-Gandevia%2FCustomSQLDatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keval-Gandevia%2FCustomSQLDatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Keval-Gandevia","download_url":"https://codeload.github.com/Keval-Gandevia/CustomSQLDatabase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keval-Gandevia%2FCustomSQLDatabase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31921816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["acid","console-application","custom-database","java","mfa","mysql","solid-principles"],"created_at":"2024-11-12T02:38:53.410Z","updated_at":"2026-04-17T08:31:51.438Z","avatar_url":"https://github.com/Keval-Gandevia.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CustomeSQLDatabase\n\n## Overview\n\nThis project is a prototype of a lightweight Database Management System (DBMS) implemented in Java. It provides a console-based interface for SQL query execution, features two-factor user authentication, and manages transactions with ACID properties. Data is stored persistently in a custom text format.\n\n## Features\n\n- **SQL Query Support**: Handles `CREATE`, `SELECT`, and `INSERT` SQL commands.\n- **Two-Factor Authentication**: Implements user authentication with ID, password, and a CAPTCHA.\n- **Transaction Management**: ACID-compliant transactions supporting `BEGIN TRANSACTION`, `COMMIT`, and `ROLLBACK`.\n- **Persistent Storage**: Stores data in a custom text format with user-defined delimiters.\n\n## Requirements\n\n- Java Development Kit (JDK) - any version is acceptable\n- Standard Java libraries (no third-party libraries used)\n\n## Getting Started\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/Keval-Gandevia/CustomSQLDatabase.git\n   ```\n\n2. **Navigate to the Project Directory**\n\n   ```bash\n   cd CustomSQLDatabase\n   ```\n\n3. **Compile the Code**\n\n   ```bash\n   javac -d bin src/*.java\n   ```\n\n4. **Compile the Code**\n\n   ```bash\n   java -cp bin Main\n   ```\n\n## Usage\n\n1. **Register**  \n   Users must register first with their email, password, and CAPTCHA. Registration data is saved in an authentication file (.txt).\n\n2. **Login**  \n   Authenticate with your registered email, password, and CAPTCHA.\n\n3. **Execute SQL Queries**  \n   Enter SQL commands to create tables, insert data, and select records.\n\n4. **Manage Transactions**  \n   Use `BEGIN TRANSACTION`, `COMMIT`, and `ROLLBACK` commands to handle transactions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeval-gandevia%2Fcustomsqldatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeval-gandevia%2Fcustomsqldatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeval-gandevia%2Fcustomsqldatabase/lists"}