I want you to provide below this user Flow description 100% without missing any
instrcution right now im using flask python and datbase for mongoDB at last i want
you to provide me the deatiled code for below and path dir as well make sure
Covered 100% of the below reuqirment wihtout missing anything else for make you
better there i already setup my mongoDB connection
mongoDB info
project name: Student-Record-Management-System
Cluster info
database name: app
we can suggest to make collection name since we storing mutiple data collection
here is my mongoDB credentil
User: root
password: ZOKW1BKK0MwcEN9H
Help to steup clean mongoDB connection as well thankYOU
2. User Flow Descriptions
Admin User Flows
1. Admin Login
Step 1: Admin opens the login page.
Step 2: Admin enters username/email and password.
Step 3: System verifies the credentials.
If valid → Redirect to the Admin Dashboard.
If invalid → Show "Invalid credentials" error.
2. Add Student Record
Step 1: Admin logs in and navigates to the "Manage Students" section.
Step 2: Admin clicks the "Add Student" button.
Step 3: A form appears with input fields (e.g., Name, Date of birth, Address,
Course, Gender type, Phone Number, email address).
Step 4: Admin fills in the form and clicks "Submit".
Step 5: System validates the data.
If valid → Save data to the database and display "Success" message.
If invalid → Highlight errors and prompt corrections.
Step 6: System refreshes the student list to include the new record.
3. View and Search Students
Step 1: Admin logs in and navigates to "Manage Students".
Step 2: Admin sees a list of all students displayed in a table.
Step 3: Admin uses the search bar or filters to refine results (e.g., search by
Name, Course).
Step 4: System fetches and displays the filtered results.
4. Generate Reports
Step 1: Admin clicks "Generate Report" on the student list page.
Step 2: Admin selects the format (e.g., CSV or Excel).
Step 3: System generates and downloads the file.
Teacher/Faculty User Flows
1. Teacher Login
Step 1: Teacher opens the login page.
Step 2: Teacher enters credentials.
Step 3: System verifies credentials and redirects to the Teacher Dashboard.
2. View Assigned Students
Step 1: Teacher logs in and navigates to the "Student List" page.
Step 2: Teacher sees a list of students assigned to them.
Step 3: Teacher can use search or filters to find specific students.
3. Update Student Notes
Step 1: Teacher clicks "Update Notes" for a specific student.
Step 2: A form appears to enter or edit notes.
Step 3: Teacher submits the updated notes.
Step 4: System saves the changes and displays a success message.
Student User Flows
1. Student Login
Step 1: Student opens the login page.
Step 2: Student enters their credentials.
Step 3: System verifies the credentials.
If valid → Redirect to Student Dashboard/Profile page.
If invalid → Show an error message.
2. View Profile
Step 1: Student logs in successfully.
Step 2: Student is directed to their "Profile" page.
Step 3: Profile details (e.g., Name, DOB, Email, Course) are displayed.