{"id":26478051,"url":"https://github.com/ahmed-saayed/university-management-system","last_synced_at":"2026-04-10T16:54:52.518Z","repository":{"id":281977206,"uuid":"947071315","full_name":"Ahmed-Saayed/University-Management-System","owner":"Ahmed-Saayed","description":"Wep Api .NetCore ","archived":false,"fork":false,"pushed_at":"2025-03-12T05:37:53.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T06:27:02.383Z","etag":null,"topics":["backend-api","csharp","dotnet-core","webapi-core"],"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/Ahmed-Saayed.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":"2025-03-12T05:28:57.000Z","updated_at":"2025-03-12T05:37:58.000Z","dependencies_parsed_at":"2025-03-12T06:37:05.670Z","dependency_job_id":null,"html_url":"https://github.com/Ahmed-Saayed/University-Management-System","commit_stats":null,"previous_names":["ahmed-saayed/university-management-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed-Saayed%2FUniversity-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed-Saayed%2FUniversity-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed-Saayed%2FUniversity-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ahmed-Saayed%2FUniversity-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ahmed-Saayed","download_url":"https://codeload.github.com/Ahmed-Saayed/University-Management-System/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244530992,"owners_count":20467391,"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":["backend-api","csharp","dotnet-core","webapi-core"],"created_at":"2025-03-20T00:59:01.678Z","updated_at":"2026-04-10T16:54:52.512Z","avatar_url":"https://github.com/Ahmed-Saayed.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# University-Management-System\n\n\u003ch3\u003e🎯This project Api is a University Management System API built using ASP.NET Core. The API provides endpoints to manage various entities in a University environment, such as Students, Courses, Instructors, Departments, and Faculties. It also includes JWT authentication for user registration and login.\u003c/h3\u003e\n\n\u003chr\u003e\n\n![Image](https://github.com/user-attachments/assets/732deedc-2564-4909-a4c3-3cff51360a20)\n\n\u003chr\u003e\n\u003ch2\u003e💥Features\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e🔐JWT authentication system for user registration and login.\u003c/li\u003e\n  \u003cli\u003e🔑Hashed Password Encryption for users.\u003c/li\u003e\n  \u003cli\u003eCRUD operations for Students, Courses, Teachers, Departments, and Faculties.\u003c/li\u003e\n  \u003cli\u003eMethods authorized by manager.\u003c/li\u003e\n  \u003cli\u003eRepository Pattern for stucture and cleaning code with reduce duplication.\u003c/li\u003e\n  \u003cli\u003eMany-to-many relationship between Students and Courses.\u003c/li\u003e\n  \u003cli\u003eOne-to-many relationships between Department and Students, Faculty and Departments, Department and Students, Department and Courses.\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003ch2\u003e📌Endpoints\u003c/h2\u003e\n\n \u003ch4\u003eIts guaranted that when you run , the app will add initialy manager with (Email  =\u003ccode\u003e \"HellowIamManager\"\u003c/code\u003e with  password = \u003ccode\u003e\"itspass\"\u003c/code\u003e)\u003c/h4\u003e\n\u003ch3\u003eAuth\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Auth/Add Manager\u003c/code\u003e: for add manager\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Auth/Register\u003c/code\u003e: register\u003c/li\u003e    \n  \u003cli\u003e\u003ccode\u003ePost /api/Auth/Login\u003c/code\u003e: login\u003c/li\u003e\n\u003c/ul\u003e\n\n\n\u003ch3\u003eStudent\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Student\u003c/code\u003e: Get List Of Students\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Student\u003c/code\u003e: Add Student\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Student/Get courses of student/{id}\u003c/code\u003e: Get courses name of student with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Student/{id}\u003c/code\u003e: Get details of student with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePut /api/Student/{id}\u003c/code\u003e: Update student with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Student/Add Course/{idstudent}/{idcourse}\u003c/code\u003e: add course with {idcourse} to student with {idstudent}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eDelete /api/Student/Add Course/{idstudent}/{idcourse}\u003c/code\u003e: delete course with {idcourse} of student with {idstudent}\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eInstructor\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Instructor\u003c/code\u003e: Get List Of Instructors\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Instructor\u003c/code\u003e: Add Instructor\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Instructor/Get course of Instructor/{id}\u003c/code\u003e: Get course name of instructor with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Instructor/{id}\u003c/code\u003e: Get details of instructor with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePut /api/Instructor/{id}\u003c/code\u003e: Update instructor with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eDelete /api/Instructor/{id}\u003c/code\u003e: delete instructor with {id}\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eFaculty\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Faculty\u003c/code\u003e: Get List Of faculties\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Faculty\u003c/code\u003e: Add faculty\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Faculty/GetAllDepartment/{id}\u003c/code\u003e: Get All Department of faculty with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Faculty/GetAllStudents/{id}\u003c/code\u003e: Get All students of faculty with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Faculty/GetAllInstructors/{id}\u003c/code\u003e: Get All instructors of faculty with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Faculty/{id}\u003c/code\u003e: get faculty with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eUpdate /api/Faculty/{id}\u003c/code\u003e: update faculty with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eDelete /api/Faculty/{id}\u003c/code\u003e: delete faculty with {id}\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eDepartment\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Department\u003c/code\u003e: Get List Of departments\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Department\u003c/code\u003e: Add department\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Department/GetAllCourses/{id}\u003c/code\u003e: Get all courses of Department with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Department/GetAllStudents/{id}\u003c/code\u003e: Get All students of Department with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Department/GetAllInstructors/{id}\u003c/code\u003e: Get All instructors of Department with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Department/{id}\u003c/code\u003e: get Department with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eUpdate /api/Department/{id}\u003c/code\u003e: update Department with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eDelete /api/Department/{id}\u003c/code\u003e: delete Department with {id}\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eCourse\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Course\u003c/code\u003e: Get List Of Courses\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003ePost /api/Course\u003c/code\u003e: Add Course\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eGet /api/Course/{id}\u003c/code\u003e: get Course with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eUpdate /api/Course/{id}\u003c/code\u003e: update Course with {id}\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eDelete /api/Course/{id}\u003c/code\u003e: delete Course with {id}\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003ch2\u003e🔐Authentication\u003c/h2\u003e\nThis API uses JWT authentication for user registration and login. Users need to register and login to obtain a refresh token, which they will use to access the various entity endpoints.\n\u003chr\u003e\n\n\u003ch2\u003e💡Authorization\u003c/h2\u003e\nManager has access to any thing ,Users just has access to register and login in Auth controller.\n\u003chr\u003e\n\n\u003ch2\u003e🥇Technologies \u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eASP.NET Core for building the API.\u003c/li\u003e\n  \u003cli\u003eAutoMapper for mapping between entity models and DTOs.\u003c/li\u003e\n  \u003cli\u003eJWT authentication for user security.\u003c/li\u003e\n  \u003cli\u003eRefresh Token\u003c/li\u003e\n  \u003cli\u003eEntity Framework Core for database operations.\u003c/li\u003e\n  \u003cli\u003eSQL Server.\u003c/li\u003e\n\u003c/ul\u003e\n\u003chr\u003e\n\u003ch2\u003e🌹How to Run the Project\u003c/h2\u003e\n\u003col\u003e\n  \u003cli\u003eClone this repository to your local machine.\u003c/li\u003e\n  \u003cli\u003eOpen the project in your preferred IDE.\u003c/li\u003e\n  \u003cli\u003eAdd migration \u003ccode\u003eAdd-Migration init\u003c/code\u003e\u003c/li\u003e\n  \u003cli\u003eUpdate Data base \u003ccode\u003eUpdate-Database\u003c/code\u003e\u003c/li\u003e\n  \u003cli\u003eRun the project\u003c/li\u003e\n  \u003cli\u003eFinally do not Forget to Login as a manager to access any thing with (Email  =\u003ccode\u003e \"HellowIamManager\"\u003c/code\u003e with  password = \u003ccode\u003e\"itspass\"\u003c/code\u003e) , to be Authorized to access Methods\u003c/li\u003e\n\u003c/ol\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmed-saayed%2Funiversity-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmed-saayed%2Funiversity-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmed-saayed%2Funiversity-management-system/lists"}