{"id":26235742,"url":"https://github.com/dxtaner/moviestore","last_synced_at":"2025-07-08T18:06:16.996Z","repository":{"id":134096631,"uuid":"541754969","full_name":"dxtaner/MovieStore","owner":"dxtaner","description":"Movie Store","archived":false,"fork":false,"pushed_at":"2023-06-09T12:07:04.000Z","size":7686,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T12:34:00.929Z","etag":null,"topics":["actor-model","csharp","director-model","entity-framework-core","movie-database","movies-api","webapi"],"latest_commit_sha":null,"homepage":"","language":"C#","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/dxtaner.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}},"created_at":"2022-09-26T19:39:25.000Z","updated_at":"2023-07-02T11:00:19.000Z","dependencies_parsed_at":"2025-06-02T04:10:44.544Z","dependency_job_id":"3cab5315-b233-4359-b199-31882fc93c1c","html_url":"https://github.com/dxtaner/MovieStore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dxtaner/MovieStore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMovieStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMovieStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMovieStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMovieStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxtaner","download_url":"https://codeload.github.com/dxtaner/MovieStore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxtaner%2FMovieStore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264320949,"owners_count":23590561,"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":["actor-model","csharp","director-model","entity-framework-core","movie-database","movies-api","webapi"],"created_at":"2025-03-13T03:17:44.349Z","updated_at":"2025-07-08T18:06:16.991Z","avatar_url":"https://github.com/dxtaner.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Film Store Application\nThis application is a film store developed using C# .NET Web API. The application allows users to search, review, and purchase movies. Additionally, it allows application administrators to manage data such as movies, directors, actors, genres, customers, and purchased movies.\n\n## Models\nThis application uses six different models:\n\nMovie: Holds movie data.\nActor: Holds actor data.\nDirector: Holds director data.\nGenre: Holds genre data.\nCustomer: Holds customer data.\nBoughtMovie: Holds purchased movie data.\n\n## Requirements\nTo run this application, you need:\n\n.NET Framework 6 or above\nVisual Studio 2017 or above\n\n## Installation\nTo use this application, you can follow these steps:\n\n1.  Clone or download this repository.\n2.  Open the project in Visual Studio Code.\n3.  Update the database connection information in the \\`appsettings.json\\` file.\n4.  Run the command \\`dotnet ef database update\\` in the console to create the database.\n5.  Install any necessary dependencies required by the project.\n\nUsage\n-----\n\n*   Each model has a separate controller located in the \\`Controllers\\` folder. You can use the respective controller to perform CRUD operations.\n*   Test the API requests using tools like Postman.\n\nModels\n------\n\n### Actor Model:\n\n*   `Id` (int): Actor ID\n*   `Name` (string): Actor name\n*   `BirthDate` (DateTime): Actor's birth date\n\n### Movie Model:\n\n*   `Id` (int): Movie ID\n*   `Title` (string): Movie title\n*   `DirectorId` (int): Director ID\n*   `GenreId` (int): Genre ID\n*   `ReleaseDate` (DateTime): Movie release date\n\n### Director Model:\n\n*   `Id` (int): Director ID\n*   `Name` (string): Director name\n*   `BirthDate` (DateTime): Director's birth date\n\n### Genre Model:\n\n*   `Id` (int): Genre ID\n*   `Name` (string): Genre name\n\n### Customer Model:\n\n*   `Id` (int): Customer ID\n*   `Name` (string): Customer name\n*   `Email` (string): Customer email address\n\n### BoughtMovie Model:\n\n*   `Id` (int): BoughtMovie ID\n*   `CustomerId` (int): Customer ID\n*   `MovieId` (int): Movie ID\n*   `Price` (decimal): Price of the bought movie\n\nAPI Routes\n----------\n\n### Actors:\n\n*   `GET /api/actors`: Get all actors\n*   `GET /api/actors/{id}`: Get a specific actor by ID\n*   `POST /api/actors`: Add a new actor\n*   `PUT /api/actors/{id}`: Update a specific actor\n*   `DELETE /api/actors/{id}`: Delete a specific actor\n\n### Movies:\n\n*   `GET /api/movies`: Get all movies\n*   `GET /api/movies/{id}`: Get a specific movie by ID\n*   `POST /api/movies`: Add a new movie\n*   `PUT /api/movies/{id}`: Update a specific movie\n*   `DELETE /api/movies/{id}`: Delete a specific movie\n\n### Directors:\n\n*   `GET /api/directors`: Get all directors\n*   `GET /api/directors/{id}`: Get a specific director by ID\n*   `POST /api/directors`: Add a new director\n*   `PUT /api/directors/{id}`: Update a specific director\n*   `DELETE /api/directors/{id}`: Delete a specific director\n\n### Genres:\n\n*   `GET /api/genres`: Get all genres\n*   `GET /api/genres/{id}`: Get a specific genre by ID\n*   `POST /api/genres`: Add a new genre\n*   `PUT /api/genres/{id}`: Update a specific genre\n*   `DELETE /api/genres/{id}`: Delete a specific genre\n\n### Customers:\n\n*   `GET /api/customers`: Get all customers\n*   `GET /api/customers/{id}`: Get a specific customer by ID\n*   `POST /api/customers`: Add a new customer\n*   `PUT /api/customers/{id}`: Update a specific customer\n*   `DELETE /api/customers/{id}`: Delete a specific customer\n\n### BoughtMovies:\n\n*   `GET /api/boughtmovies`: Get all bought movies\n*   `GET /api/boughtmovies/{id}`: Get a specific bought movie by ID\n*   `POST /api/boughtmovies`: Add a new bought movie\n*   `PUT /api/boughtmovies/{id}`: Update a specific bought movie\n*   `DELETE /api/boughtmovies/{id}`: Delete a specific bought movie\n\nContributing\n------------\n\nContributions are welcome! If you'd like to contribute to this project, please fork the repository and create a new branch. Then submit a pull request with your proposed changes.\n\nLicense\n-------\n\nThis project is licensed under the MIT License. For more information, please see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fmoviestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxtaner%2Fmoviestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxtaner%2Fmoviestore/lists"}