{"id":15038970,"url":"https://github.com/kh-suleiman99/movies-api","last_synced_at":"2025-04-06T07:36:57.670Z","repository":{"id":251960402,"uuid":"838973503","full_name":"kh-Suleiman99/Movies-API","owner":"kh-Suleiman99","description":"This project is an exercise to apply what I have learned about .NET Technology. I used C#,SQL Server, EF Core, LINQ, .NET API, Identity, JWT Berar token.","archived":false,"fork":false,"pushed_at":"2024-08-06T17:58:50.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T12:58:18.809Z","etag":null,"topics":["api","csharp","dotnetcore","efcore","identity","jwt-authentication","linq","sql"],"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/kh-Suleiman99.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":"2024-08-06T17:54:51.000Z","updated_at":"2024-08-06T18:06:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"b52937d0-30bf-4238-8fb4-067bcedac15e","html_url":"https://github.com/kh-Suleiman99/Movies-API","commit_stats":null,"previous_names":["kh-suleiman99/movies-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FMovies-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FMovies-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FMovies-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kh-Suleiman99%2FMovies-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kh-Suleiman99","download_url":"https://codeload.github.com/kh-Suleiman99/Movies-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247451444,"owners_count":20940946,"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":["api","csharp","dotnetcore","efcore","identity","jwt-authentication","linq","sql"],"created_at":"2024-09-24T20:41:01.150Z","updated_at":"2025-04-06T07:36:57.645Z","avatar_url":"https://github.com/kh-Suleiman99.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Movies-API\nThis project is an exercise to apply what I have learned about .NET Technology. I used C#,SQL Server, EF Core, LINQ, .NET API, Identity, JWT Berar token.\n\n![End Points](EndPoints.png)\n\n\n## Table of Contents\n\n1. [Roles](#roles)\n2. [Movie](#movie)\n3. [Genre](#genre)\n\n## Roles\nThere are two roles in this app, User and Admin. \nUser can GET all movies, GET a movie by id, GET movies by a genre id, Add a favorite movie, Get favorite movies and Get all genres.\nAdmin can create a movie, update a movie, delete a movie by id, create a genre, update a genre, delete a genre and add role for users.\n\n## Movie\n```C#\npublic class Movie\n{\n    public int Id { get; set; }\n    public string Title { get; set; }\n    public int Year { get; set; }\n    public double Rate { get; set; }\n    public string StoryLine { get; set; }\n    public byte[] Poster { get; set; }\n    public string Author { get; set; }\n    public byte GenreId { get; set; }\n    public Genre Genre { get; set; }\n\n}\n```\n## Genre\n```C#\npublic class Genre\n{\n    public byte Id { get; set; }\n    public string Name { get; set; }\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh-suleiman99%2Fmovies-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkh-suleiman99%2Fmovies-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkh-suleiman99%2Fmovies-api/lists"}