Default home page - SVHS Smart Editor and Grade Assistant Services.

  • route('/') Index.html
  • API 1.1: Creation of a new assignment from Moodle LMS or directly through manual login.
  • API 1.2: Fetch the assignments from the database, loading every time when the student re-enters.
  • API 1.3: Update the assignment content. In the frontend there is a functionality called handleSaveEssay and this is the corresponding function for it.
  • API 1.4: Get the assignment content from the database. This APi supports the ViewFullEssay functionality in the frontend. The complete essay is sent.
  • API 1.5: Final submit the assignment content in a seperate field in SQL database.
  • API 1.6: Get the last final submission or history of submissions.
  • API 1.7: Functionality to save final draft and resave final draft depends on it.
  • API 1.8: Functionality to save the chat history each time.
  • API 1.9: Functionality to fetch the chat history.
  • API 1.10: Function to update AI feedback chat history.
  • API 1.11: Function to fetch AI feedback chat history.
  • API 1.12: When the final submission is done this api is called to update in the CRON to access the essay.
  • API 1.13: Fetch all submitted assignments.
  • API 1.14: Fetch all assignments
  • API 1.15 - API endpoint to delete an assignment by ID.
  • API 1.16: API endpoint to delete a submitted assignment by ID.
  • API 1.17 - API endpoint to get grading. (API endpoint to get AI grading for a specific assignment)
  • API 1.18: To sync the status between AI and smart editor.