Skip to content

Latest commit

 

History

History
58 lines (50 loc) · 1.84 KB

README.md

File metadata and controls

58 lines (50 loc) · 1.84 KB

✨ HogwartsCourses

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).

📝 Features

🎯 Authentication

  • Login: Secure login using json server credentials, in the toolbar you can see the user name and component name. Login

  • Role-Based Access Control:: Different roles grant access to specific functionalities and sections.

📝 Roles and permissions

  • 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.

📝 Usage

  1. Clone the repository:
  git clone https://github.com/AlexandraRamirezz/ng-HogwartsCourses.git
  1. Navigate to the project directory:
  cd ng-HogwartsCourses
  1. Install dependencies:
  npm install
  1. Start the application:
  npm ng serve
  1. Run the JSON-server:
  json-server --watch db.json

📝 Sections and execution

Administrator view

🎯 Users

 Full access to create, view, edit and delete any user.

Users

🎯 Courses

 Full access to create, view, edit and delete any course.

Courses

🎯 Enrollments

 Full access to create, view, edit and delete any enrollment.

Enrollments