{"id":25458901,"url":"https://github.com/ahmad-masud/database-schema-constructor","last_synced_at":"2025-11-03T00:30:34.645Z","repository":{"id":222279547,"uuid":"755721363","full_name":"ahmad-masud/Database-Schema-Constructor","owner":"ahmad-masud","description":"🗄A tool created to help design and visualize database schemas in sql","archived":false,"fork":false,"pushed_at":"2024-05-07T02:36:11.000Z","size":3646,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T17:04:43.338Z","etag":null,"topics":["database","database-generator","database-management","database-schema","firebase","javascript","nodejs","react","schema","sql"],"latest_commit_sha":null,"homepage":"https://dbsc.online","language":"JavaScript","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/ahmad-masud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-10T22:06:52.000Z","updated_at":"2024-05-07T02:36:14.000Z","dependencies_parsed_at":"2024-05-06T23:45:56.349Z","dependency_job_id":null,"html_url":"https://github.com/ahmad-masud/Database-Schema-Constructor","commit_stats":null,"previous_names":["ahmad-masud/database-schema-constructor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FDatabase-Schema-Constructor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FDatabase-Schema-Constructor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FDatabase-Schema-Constructor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmad-masud%2FDatabase-Schema-Constructor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmad-masud","download_url":"https://codeload.github.com/ahmad-masud/Database-Schema-Constructor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239404315,"owners_count":19632729,"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":["database","database-generator","database-management","database-schema","firebase","javascript","nodejs","react","schema","sql"],"created_at":"2025-02-18T03:29:00.072Z","updated_at":"2025-11-03T00:30:34.601Z","avatar_url":"https://github.com/ahmad-masud.png","language":"JavaScript","readme":"# Database Schema Constructor\n![DBSC](/resources/dbsc.gif)\n\n## Description\nThe Database Schema Constructor is a web application for visually creating and manipulating database schemas. It allows users to add tables, define attributes, and set constraints like `NOT NULL`, `UNIQUE`, `PRIMARY KEY`, `AUTO_INCREMENT` and `FOREIGN KEY`. Features include SQL query generation and download, draggable tables for layout flexibility, and responsive design. Schemas can be persisted in local storage for future sessions.\n\n## Features\n- **Visual Database Design**: Add, edit, and remove tables and attributes.\n- **Attribute Constraints**: Direct UI definition of attribute constraints.\n- **SQL Generation**: Generate SQL queries for the schema.\n- **Download SQL**: Download the schema as an SQL file.\n- **Draggable Tables**: Reorganize tables on the screen on larger screens.\n- **Responsive Design**: Ensures usability across devices.\n- **Local Storage**: Schema persistence across sessions.\n- **Cloud Storage**: Save Schemas to the cloud.\n\n## Getting Started\n\n### Prerequisites\nBefore you begin, ensure you have the latest version of Node.js and npm installed on your system.\n\n### Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/ahmad-masud/Database-Schema-Constructor\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd ahmad-masud.github.io\n   ```\n3. Install dependencies:\n   ```bash\n   npm install\n   ```\n4. Start the development server:\n   ```bash\n   npm start\n   ```\n   This command runs the app in development mode. Open [http://localhost:3000](http://localhost:3000) to view it in your browser.\n   \n## Usage\n- **Creating a Table**: Use the \"Add Table\" button.\n- **Editing**: Use edit icons for tables or attributes.\n- **Downloading SQL**: Use the \"Download SQL\" button.\n- **Clearing Schema**: Use the \"Delete Database\" button.\n- **Login in with Google** Use the \"Login\" button.\n- **Saving to the cloud with Google**: Use the \"Save Database\" button.\n- **Loading from the cloud with Google**: Use the \"Modify Databases\" button.\n\n## Contributing\nContributions are welcome. Please fork the project, create your feature branch, commit your changes, push to the branch, and open a pull request.\n\n## License\nDistributed under the MIT License. See [MIT License](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-masud%2Fdatabase-schema-constructor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmad-masud%2Fdatabase-schema-constructor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmad-masud%2Fdatabase-schema-constructor/lists"}