{"id":20181354,"url":"https://github.com/lasbrdev/database-project-dio","last_synced_at":"2026-05-05T16:36:20.308Z","repository":{"id":151051204,"uuid":"535154444","full_name":"lasbrDev/database-project-dio","owner":"lasbrDev","description":"Data modeling challenge for two cases: e-commerce and universidade","archived":false,"fork":false,"pushed_at":"2023-10-21T03:37:35.000Z","size":245,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T17:20:04.411Z","etag":null,"topics":["datamodeling","dbms","dbms-project","linux","mysql","sgbd","sgbd-relacionais","workbench"],"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/lasbrDev.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":"2022-09-11T00:42:33.000Z","updated_at":"2023-10-21T03:42:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1a5b378-5c91-4a59-a203-25d7bc5782a7","html_url":"https://github.com/lasbrDev/database-project-dio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fdatabase-project-dio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fdatabase-project-dio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fdatabase-project-dio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lasbrDev%2Fdatabase-project-dio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lasbrDev","download_url":"https://codeload.github.com/lasbrDev/database-project-dio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"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":["datamodeling","dbms","dbms-project","linux","mysql","sgbd","sgbd-relacionais","workbench"],"created_at":"2024-11-14T02:35:14.741Z","updated_at":"2026-05-05T16:36:15.286Z","avatar_url":"https://github.com/lasbrDev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bootcamp Database Experience - E-commerce and University\n\nIn this repository, you will find SQL scripts to create the databases for an e-commerce system and a university. These scripts were part of the hands-on project in the \"Database Experience\" bootcamp by Digital Innovation One, led by instructor Juliana Mascarenhas.\n\n## Instructor\n- **Instructor**: Juliana Mascarenhas\n- **Bootcamp**: Database Experience - Digital Innovation One\n\n## E-commerce\n\nThe e-commerce database comprises tables related to vendors, products, customers, orders, and payments.\n\n### Tables\n\n1. **Vendedor_Terceiro**: Stores information about third-party vendors.\n\n2. **Product**: Contains details about available products.\n\n3. **Product_por_Vendedor**: Records the relationship between products and vendors.\n\n4. **Fornecedor**: Holds information about suppliers.\n\n5. **Disponibiliza_Produto**: Associates products with suppliers.\n\n6. **Estoque**: Contains inventory information.\n\n7. **Relacao_Produto_Estoque**: Defines the relationship between products and inventory.\n\n8. **PJ and PF**: Tables for legal entities (Pessoa Jurídica) and individuals (Pessoa Física).\n\n9. **Debito_Online, Credito, and Boleto**: Record payment information.\n\n10. **Pagamento**: Links payments to various payment methods.\n\n11. **Cliente**: Stores customer information.\n\n12. **Pedido**: Contains order details.\n\n13. **Relacao_Produto_Pedido**: Defines the relationship between products and orders.\n\n## University\n\nThe university database includes tables related to students, professors, courses, disciplines, and course offerings.\n\n### Tables\n\n1. **Enderecos**: Stores address information.\n\n2. **Pessoas**: Contains details about individuals, including students and professors.\n\n3. **Alunos and Professores**: Tables that extend the \"Pessoas\" table.\n\n4. **Departamentos**: Records academic department information.\n\n5. **Cursos**: Contains academic course details.\n\n6. **Disciplinas**: Records discipline details.\n\n7. **Periodos**: Contains academic period information.\n\n8. **Oferta_Disciplinas**: Associates disciplines with professors and academic periods.\n\n9. **Alunos_Matriculados_Cursos**: Records the relationship between students and courses.\n\n10. **Extensões and Extensões_has_Alunos**: Tables related to academic extension activities.\n\n11. **Financeiro**: Records financial information related to tuition and salaries.\n\n12. **Pre_Requisitos and Pre_Requisitos_Disciplinas**: Tables for discipline prerequisites.\n\n## Running the Scripts\n\nTo create the databases and their tables, you can run the SQL scripts provided in your database management system (in this Bootcamp MySQL and Workbench were used).\n\nEnsure that you create the database first and then run the scripts to create the tables.\n\n## License\n\nThis project is licensed under the **MIT License**.\n\n---\n\nFeel free to use these scripts in your projects or as a starting point to create your own databases. If you have any questions or need additional assistance, please don't hesitate to reach out.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Fdatabase-project-dio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flasbrdev%2Fdatabase-project-dio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flasbrdev%2Fdatabase-project-dio/lists"}