{"id":26332630,"url":"https://github.com/prajwalamte/online_book_store-database","last_synced_at":"2025-10-14T15:45:06.023Z","repository":{"id":187986095,"uuid":"677924663","full_name":"PrajwalAmte/Online_Book_Store-Database","owner":"PrajwalAmte","description":"Built an Online Book Store Database for a college Database Management System project. Includes tables for authors, publishers, books, customers, and more. Demonstrates practical database design and SQL skills.","archived":false,"fork":false,"pushed_at":"2023-08-22T04:30:09.000Z","size":191,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T15:45:05.285Z","etag":null,"topics":["database","mysql-database"],"latest_commit_sha":null,"homepage":"","language":null,"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/PrajwalAmte.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}},"created_at":"2023-08-13T05:12:13.000Z","updated_at":"2025-03-03T13:27:25.000Z","dependencies_parsed_at":"2023-08-13T05:50:36.895Z","dependency_job_id":"32eab330-58f0-4ee7-99ce-5b7e3765178b","html_url":"https://github.com/PrajwalAmte/Online_Book_Store-Database","commit_stats":null,"previous_names":["prajwalamte/online_book_store-database"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PrajwalAmte/Online_Book_Store-Database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrajwalAmte%2FOnline_Book_Store-Database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrajwalAmte%2FOnline_Book_Store-Database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrajwalAmte%2FOnline_Book_Store-Database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrajwalAmte%2FOnline_Book_Store-Database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrajwalAmte","download_url":"https://codeload.github.com/PrajwalAmte/Online_Book_Store-Database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrajwalAmte%2FOnline_Book_Store-Database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019353,"owners_count":26086711,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"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":["database","mysql-database"],"created_at":"2025-03-15T23:29:43.109Z","updated_at":"2025-10-14T15:45:06.008Z","avatar_url":"https://github.com/PrajwalAmte.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Online Book Store Database\n\nThis repository contains the SQL schema and database queries for an Online Book Store. The purpose of this project is to provide a structured database for managing the inventory, sales, and customers of an online bookstore.\n## Table of Contents\n\n- [Description](#description)\n- [Database Schema](#database-schema)\n- [Class Diagram](#class-diagram)\n- [ER Diagram](#er-diagram)\n- [Queries](#queries)\n  - [Table Creation](#table-creation)\n  - [Adding Data](#adding-data)\n  - [Example Queries to Retrieve Data](#example-queries-to-retrieve-data)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Description\n\nThe Online Book Store Database is designed to store and manage information about authors, publishers, warehouses, books, customers, and shopping carts. It serves as a comprehensive system for an online bookstore, covering aspects such as inventory management, sales tracking, customer information, and order processing.\n\n## Database Schema\n\nThe database schema includes the following tables:\n\n- Authors\n- Publisher\n- Warehouses\n- Books\n- Customer\n- ShoppingCart\n\nFor detailed information about the structure of each table, refer to the [create_tables.sql](queries/create_tables.sql) file.\n\n## Class Diagram\n\n[Class Diagram](diagrams/class_diagram.png)\n\n## ER Diagram\n\n[ER Diagram](diagrams/er_diagram.png)\n\n## Queries\n\n### Table Creation\n\nThe structure of all tables is defined in a common SQL file using MySQL:\n\n- [create_tables.sql](queries/create_tables.sql)\n\n### Adding Data\n\nTo populate the database with sample data, use the common SQL file for adding data:\n\n- [add_data.sql](queries/add_data.sql)\n\n### Example Queries to Retrieve Data\n\nSample SQL queries to retrieve data from the database are provided in the following file:\n\n- [retrieve_data_examples.sql](queries/retrieve_data_examples.sql)\n\n## Usage\n\nTo set up the Online Book Store Database, follow these steps:\n\n1. Clone this repository to your local machine.\n2. Use a MySQL database management tool to execute the SQL files for table creation and adding data.\n\nModify and customize the SQL files as needed to fit your specific project requirements.\n\n## Contributing\n\nContributions to this project are welcome. If you find any issues or have suggestions for improvements, please create a GitHub issue or submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\nFeel free to organize the structure and content of your README file as per your files and project setup. This example provides a guideline for including information about common files for table creation and adding data, as well as incorporating class and ER diagrams.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprajwalamte%2Fonline_book_store-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprajwalamte%2Fonline_book_store-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprajwalamte%2Fonline_book_store-database/lists"}