HogwartsCourses is a comprehensive administrative platform built with Angular, designed to manage users, courses, and enrollments with a magical twist inspired by Hogwarts. Users can log in with their credentials and perform actions based on their assigned roles (admin, teacher, student).
-
Login: Secure login using json server credentials, in the toolbar you can see the user name and component name.
-
Role-Based Access Control:: Different roles grant access to specific functionalities and sections.
- Admin:
- Full access to manage users, courses, and enrollments.
- Can create, edit, and delete users and courses.
- Can create and delete enrollments.
- Teacher:
- Can view and create courses.
- Can view other teachers, students, and enrollments.
- Student:
- Can view courses and the student list.
- Can create enrollments.
- Clone the repository:
git clone https://github.com/AlexandraRamirezz/ng-HogwartsCourses.git
- Navigate to the project directory:
cd ng-HogwartsCourses
- Install dependencies:
npm install
- Start the application:
npm ng serve
- Run the JSON-server:
json-server --watch db.json
Full access to create, view, edit and delete any user.
Full access to create, view, edit and delete any course.
Full access to create, view, edit and delete any enrollment.