{"id":23750827,"url":"https://github.com/zaharpa/vomie","last_synced_at":"2026-03-13T15:30:21.649Z","repository":{"id":255882425,"uuid":"851589468","full_name":"ZaharPa/vomie","owner":"ZaharPa","description":"Vomie is an interactive platform for saving and sharing movie information, developed as part of my learning process in self-study. The project utilizing PHP, MySQL, and JavaScript ","archived":false,"fork":false,"pushed_at":"2025-02-04T12:56:50.000Z","size":2043,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T13:39:47.978Z","etag":null,"topics":["learning","php","website"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZaharPa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-09-03T11:23:58.000Z","updated_at":"2025-02-04T12:56:53.000Z","dependencies_parsed_at":"2024-09-15T02:07:13.886Z","dependency_job_id":"a7028a7a-a1f6-4270-8cad-67fa146cf120","html_url":"https://github.com/ZaharPa/vomie","commit_stats":null,"previous_names":["zaharpa/vomie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaharPa%2Fvomie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaharPa%2Fvomie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaharPa%2Fvomie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaharPa%2Fvomie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZaharPa","download_url":"https://codeload.github.com/ZaharPa/vomie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921883,"owners_count":19718842,"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":["learning","php","website"],"created_at":"2024-12-31T16:53:50.679Z","updated_at":"2026-03-13T15:30:21.599Z","avatar_url":"https://github.com/ZaharPa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vomie\n\n**Vomie** is an interactive platform for saving and sharing movie information. It allows users to view detailed movie information, rate and comment on films, and engage with the content through personalized profiles. This creates a community space for exchanging opinions and recommendations to aid in movie selection.\n\n## Key Features\n- **Movie Browsing**: Access full movie information, including title, photos, genre, cast, status, and links to additional resources.\n- **User Interaction**: Users can rate and comment on movies, building a community for discussion and recommendations.\n- **User Profiles**: Registration, authentication, and profile views allow for a personalized user experience.\n- **Modular Architecture**: Multiple interfaces support flexibility and easy expansion of functionality.\n- **Mobile-Responsive Design**: CSS is optimized for mobile devices, ensuring a seamless user experience across different screen sizes.\n\n## Tech Stack\n- **Frontend**: HTML and CSS for the interface, JavaScript for interactivity.\n- **Backend**: PHP for server-side processing and application logic.\n- **Database**: MySQL to store and manage data on movies, users, ratings, and comments.\n- **AJAX**: Asynchronous requests enhance user experience.\n\n## Requirements\n- **PHP**: Server-side scripting for processing requests.\n- **MySQL**: Database management for handling movie, user, rating, and comment data.\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/ZaharPa/vomie.git\n   cd vomie\n3. Set up a MySQL database with the provided structure.\n4. Configure the database connection in PHP.\n5. Install dependencies:\n   composer install\n6. Start a local server.\n\n## Architecture\n1. **Interfaces and Classes**: The following interfaces are implemented, each with a corresponding class responsible for specific data handling tasks:\n   - **Movie**: Interface and class for core methods managing basic movie information.\n   - **MovieDetail**: Interface and class for handling additional details like photos, genre, and links.\n   - **FeedBack**: Interface and class for processing ratings and user comments.\n   - **User**: Interface and class for managing user information and actions.\n\n2. **Project Structure**: \n   - The main site is assembled in `index.php`, which includes the header from `include/header.php` and the footer from \n   `include/footer.php`.\n   - Main content for each page is dynamically loaded from the `pages` folder.\n   - Additional folders include:\n     - `images`: Contains all site images.\n     - `styles`: Houses CSS files for styling.\n     - `scripts`: Contains:\n       - `class`: PHP classes for backend functionality.\n       - `interface`: Interface definitions.\n       - `JavaScript`: JavaScript files for interactive features.\n       - PHP files that support AJAX requests.\n\n3. **Database**: To manage and organize the movie-related data, the project uses a relational database model. Below is the schema that outlines the tables and their relationships:\n    - **User**: Stores user information, including email, name, role, and profile photo.\n    - **Movie**: Contains movie details such as title, description, type, and more.\n    - **rate_user_movie**: Records users' ratings and status for each movie.\n    - **genre_movie**: Links movies to their respective genres.\n    - **photo_movie**: Stores movie photos, such as posters and stills.\n    - **cast_movie**: Contains information about the movie's cast, including actor names and their roles.\n    - **link_movie**: Stores external links related to the movie, such as trailers or official pages.\n    - **comment**: Allows users to comment on movies.\n    \n    Below is the visual representation of the database schema:\n   ![database](https://github.com/user-attachments/assets/deee91fa-5875-45ed-ad67-dbe906ccffdc)\n\n## Design  \n[Figma](https://www.figma.com/design/fww6LBdisHbn9tbVRzZ1jF/vomie?node-id=0-1\u0026t=gTiUjyKdEsY1smn1-1)\n\n## Screenshots\nBelow are some screenshots showing the functionality and appearance of the platform:\n![home](https://github.com/user-attachments/assets/dd218340-a518-40a0-b6c1-d78b3af0dc15)\nhome page\n\n![profile](https://github.com/user-attachments/assets/33a8c535-58a4-41f3-ad9d-67f0704bc302)\nprofile page\n\n![movieDetail](https://github.com/user-attachments/assets/9140c633-57c3-47fc-a7d7-9ecc9f15a092)\nview movie detail page \n\n![allMovie](https://github.com/user-attachments/assets/7a48de50-fb73-467f-8a64-e1f49ce61ab9)\nview all movie page on mobile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaharpa%2Fvomie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaharpa%2Fvomie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaharpa%2Fvomie/lists"}