Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.81 KB

REFACTORS-V1.md

File metadata and controls

46 lines (39 loc) · 1.81 KB

login info

live demo
username: admin
password: [email protected]

backend resource, built by @yousef132

click here to see what I encounterd and what I did every day with this project

Refactors

fixes:

  • user profile image not appeares in the user profile page.
  • make the form inputs of the react hook form array of objects to make the component clearer.
  • create a UI Component for the departments or any multi-data columns.
  • refactor all the endpoints objects keys
  • create user endpoint return error image is required, while I'm realy uploading the image. I used watch().image[0] instead of data.image[0]
  • update endpoints
    • users (get, get single data, create,update,reset password)
    • instructors (get, get single data, create,update)
    • departments (get, get single data, create,update)
    • subjects (get, get single data, create,update)
    • students (get, geet single data, create,update)
  • sub data for endpoints
    • instructors -> departmen
    • departments -> instructor as a manager
    • students -> departmen
    • subjects -> departmen -> this will be updated from the api then resolve
  • dynamic breadcrump
  • add image update for user update endpoint
  • solve the image user update endpoint not accepts the image url.
  • add metatitles and change the favicon
  • fix the vercel deploy issue

profiles:

  • dashboard page for general information
  • user profile
  • instructor profile
  • student profile
  • department profile

missed endpoints:

  • add subject to department -> waiting for the backend to resovle this issue
  • add instructor to department
  • add student to department