{"id":24358628,"url":"https://github.com/wojciechstaszewski4/amusementparkdatabase","last_synced_at":"2026-02-23T16:01:47.744Z","repository":{"id":271432516,"uuid":"913441957","full_name":"wojciechstaszewski4/AmusementParkDatabase","owner":"wojciechstaszewski4","description":"🎢 A database and web management system for an amusement park developed in .NET Razor. Features include user management, attractions, ticketing, promotions, CRUD operations, filtering, and master-slave relationships, with SQL scripts for schema creation, stored procedures, triggers, views, and an ERD diagram.","archived":false,"fork":false,"pushed_at":"2025-01-08T11:42:36.000Z","size":28904,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T09:39:46.085Z","etag":null,"topics":["amusement-park","backend","crud","data-management","database-design","entity-framework","erd","filtering-sorting","master-slave","razor-pages","relational-database","scalable-systems","sql","stored-procedures","triggers","web-application"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/wojciechstaszewski4.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-07T17:32:40.000Z","updated_at":"2025-01-09T11:32:56.000Z","dependencies_parsed_at":"2025-01-08T22:30:14.160Z","dependency_job_id":null,"html_url":"https://github.com/wojciechstaszewski4/AmusementParkDatabase","commit_stats":null,"previous_names":["wojciechstaszewski4/amusementparkdatabase"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/wojciechstaszewski4/AmusementParkDatabase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciechstaszewski4%2FAmusementParkDatabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciechstaszewski4%2FAmusementParkDatabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciechstaszewski4%2FAmusementParkDatabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciechstaszewski4%2FAmusementParkDatabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wojciechstaszewski4","download_url":"https://codeload.github.com/wojciechstaszewski4/AmusementParkDatabase/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wojciechstaszewski4%2FAmusementParkDatabase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29747981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amusement-park","backend","crud","data-management","database-design","entity-framework","erd","filtering-sorting","master-slave","razor-pages","relational-database","scalable-systems","sql","stored-procedures","triggers","web-application"],"created_at":"2025-01-18T20:20:16.671Z","updated_at":"2026-02-23T16:01:47.725Z","avatar_url":"https://github.com/wojciechstaszewski4.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎢 Amusement Park Management System  \n\nThis repository contains a **system** designed to manage and optimize the operations of an amusement park. The project integrates a **database system** and a **dynamic web application** built using **ASP.NET Razor Pages**, ensuring scalability, advanced functionality, and user-friendly interfaces.  \n\n---\n\n## 🚀 Features  \n\n### Database System  \n- **8 modules**, **18 tables** for structured and detailed data management.  \n- Includes SQL scripts for database schema, triggers, views, and stored procedures:  \n  - `AmusementParkDB.sql`  \n  - `Procedures.sql`  \n  - `Triggers.sql`  \n  - `Views.sql`  \n- Covers key functionalities:  \n  - **User Management** (accounts, agreements, and access control).  \n  - **Attractions and Events** (detailed categorization and planning).  \n  - **Tickets and Reservations** (sales and customer experience optimization).  \n  - **Promotions and Coupons** (discounts and marketing strategies).  \n\n### Web Application  \n- Built using **ASP.NET Razor Pages** with a modular and maintainable structure.  \n- **CRUD Operations**: Add, update, and delete records for every database table.  \n- **Table Display**:  \n  - Displays full data from at least two tables (`Users`, `Orders`) on separate pages.  \n- **Custom Buttons**:  \n  - Delete all records from a selected table with a single click.  \n  - Anonymize column data (e.g., replacing names in the `Users` table with generic values like `User-1`).  \n- **Filtering and Sorting**:  \n  - Implemented for the `Users` table.  \n  - Filter by `Surname`, sort by `ID`, `Name`, or `Surname`.  \n- **Master-Slave Relationship**:  \n  - Selecting an order in the `Orders` table dynamically loads its associated items in the `OrderItems` table.  \n\n---\n\n## 📊 ERD Diagram  \n\nA detailed **Entity-Relationship Diagram (ERD)** is included to visualize the database structure and relationships between tables.  \n![ERD Diagram](./diagram.png)  \n\n---\n\n## 📂 File Structure  \n\n### Database Files  \n- **Database Schema**:  \n  - `AmusementParkDB.sql`  \n- **Triggers**:  \n  - `Triggers.sql`  \n- **Views**:  \n  - `Views.sql`  \n- **Stored Procedures**:  \n  - `Procedures.sql`  \n\n### Web Application Files  \n- **Solution File**: `AmusementParkDB.sln`  \n- **Configuration**:  \n  - `appsettings.json`: Contains connection strings and app configuration.  \n  - `appsettings.Development.json`: Development-specific settings.  \n- **Startup Files**:  \n  - `Program.cs`: Application entry point.  \n- **Pages**:  \n  - `Create.cshtml` \u0026 `Create.cshtml.cs`: Add records.  \n  - `Edit.cshtml` \u0026 `Edit.cshtml.cs`: Modify records.  \n  - `Delete.cshtml` \u0026 `Delete.cshtml.cs`: Remove records.  \n  - `Index.cshtml` \u0026 `Index.cshtml.cs`: List records with sorting/filtering.  \n  - `Details.cshtml` \u0026 `Details.cshtml.cs`: View record details.  \n- **Data Context**:  \n  - `AmusementParkDbContext.cs`: Configures the database and its relationships using Entity Framework Core.  \n\n---\n\n## 📝 Modules Overview  \n\n### 1. Users and Accounts  \nManages user data, agreements, and access control lists.  \n### 2. Attractions  \nDetailed information about park attractions, including categories, availability, and maintenance schedules.  \n### 3. Tickets and Reservations  \nTracks ticket purchases, reservation details, and customer preferences.  \n### 4. Employees  \nCentralized data for managing employee roles, departments, and performance.  \n### 5. Promotions and Coupons  \nAutomates promotional campaigns and coupon management for park attractions.  \n### 6. Reviews  \nCaptures user feedback for attractions, employees, and products.  \n### 7. Orders and Stores  \nManages product inventories, orders, and store operations.  \n### 8. Events  \nSchedules and monitors events for enhanced customer engagement.  \n\n---\n\n## 📜 Example Data  \n\nThe database includes example data for testing functionality, such as users, tickets, attractions, and more.  \n\n---\n\n## 🎯 How to Use  \n\n1. Clone the repository.  \n2. Run the `AmusementParkDB.sql` file to create the database schema.  \n3. Configure the connection string in `appsettings.json`.  \n4. Build and run the Razor Pages application using Visual Studio or the .NET CLI.  \n5. Use `Procedures.sql`, `Triggers.sql`, and `Views.sql` to add advanced functionality.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciechstaszewski4%2Famusementparkdatabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwojciechstaszewski4%2Famusementparkdatabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwojciechstaszewski4%2Famusementparkdatabase/lists"}