DegreePrerequisiteTracker / Degree-Prerequisite-Tracker

2 stars 4 forks source link

Test Results (Connor Sullivan) #51

Closed connor-ms closed 2 days ago

connor-ms commented 2 weeks ago

Getting information about an Aerospace Engineering course

  1. Request:
    curl -X 'GET' \
    'https://degree-prerequisite-tracker.onrender.com/subjects' \
    -H 'accept: application/json'

    Response:

    [
    {
    "name": "Aerospace Engineering",
    "prefix": "AERO"
    },
    {
    "name": "Agriculture",
    "prefix": "AG"
    },
    {
    "name": "Agribusiness",
    "prefix": "AGB"
    },
    {
    "name": "Agricultural Communication",
    "prefix": "AGC"
    },
    {
    "name": "Agricultural Education",
    "prefix": "AGED"
    },
    {
    "name": "Anthropology",
    "prefix": "ANT"
    },
    {
    "name": "Architectural Engineering",
    "prefix": "ARCE"
    },
    {
    "name": "Architecture",
    "prefix": "ARCH"
    },
    {
    "name": "Art",
    "prefix": "ART"
    },
    {
    "name": "Animal Science",
    "prefix": "ASCI"
    },
    {
    "name": "Astronomy and Astrophysics",
    "prefix": "ASTR"
    },
    {
    "name": "Biology",
    "prefix": "BIO"
    },
    {
    "name": "Biomedical Engineering",
    "prefix": "BMED"
    },
    {
    "name": "Botany",
    "prefix": "BOT"
    },
    {
    "name": "BioResource and Agricultural Engineering",
    "prefix": "BRAE"
    },
    {
    "name": "Business",
    "prefix": "BUS"
    },
    {
    "name": "Child Development",
    "prefix": "CD"
    },
    {
    "name": "Civil Engineering",
    "prefix": "CE"
    },
    {
    "name": "Chemistry",
    "prefix": "CHEM"
    },
    {
    "name": "Chinese",
    "prefix": "CHIN"
    },
    {
    "name": "College of Liberal Arts",
    "prefix": "CLA"
    },
    {
    "name": "Construction Management",
    "prefix": "CM"
    },
    {
    "name": "Communication Studies",
    "prefix": "COMS"
    },
    {
    "name": "Computer Engineering",
    "prefix": "CPE"
    },
    {
    "name": "City and Regional Planning",
    "prefix": "CRP"
    },
    {
    "name": "Computer Science",
    "prefix": "CSC"
    },
    {
    "name": "Dance",
    "prefix": "DANC"
    },
    {
    "name": "Data Science",
    "prefix": "DATA"
    },
    {
    "name": "Dairy Science",
    "prefix": "DSCI"
    },
    {
    "name": "Economics",
    "prefix": "ECON"
    },
    {
    "name": "Environmental Design",
    "prefix": "EDES"
    },
    {
    "name": "Education",
    "prefix": "EDUC"
    },
    {
    "name": "Electrical Engineering",
    "prefix": "EE"
    },
    {
    "name": "English",
    "prefix": "ENGL"
    },
    {
    "name": "Engineering",
    "prefix": "ENGR"
    },
    {
    "name": "Environmental Engineering",
    "prefix": "ENVE"
    },
    {
    "name": "Earth Science",
    "prefix": "ERSC"
    },
    {
    "name": "Ethnic Studies",
    "prefix": "ES"
    },
    {
    "name": "Environmental Sciences",
    "prefix": "ESCI"
    },
    {
    "name": "Early Start English",
    "prefix": "ESE"
    },
    {
    "name": "Early Start Math",
    "prefix": "ESM"
    },
    {
    "name": "Fire Protection Engineering",
    "prefix": "FPE"
    },
    {
    "name": "French",
    "prefix": "FR"
    },
    {
    "name": "Food Science and Nutrition",
    "prefix": "FSN"
    },
    {
    "name": "Geography",
    "prefix": "GEOG"
    },
    {
    "name": "Geology",
    "prefix": "GEOL"
    },
    {
    "name": "German",
    "prefix": "GER"
    },
    {
    "name": "Graphic Communication",
    "prefix": "GRC"
    },
    {
    "name": "Graduate Studies",
    "prefix": "GS"
    },
    {
    "name": "Graduate Studies-Accounting",
    "prefix": "GSA"
    },
    {
    "name": "Graduate Studies-Business",
    "prefix": "GSB"
    },
    {
    "name": "Graduate Studies-Economics",
    "prefix": "GSE"
    },
    {
    "name": "Graduate Studies-Packaging",
    "prefix": "GSP"
    },
    {
    "name": "History",
    "prefix": "HIST"
    },
    {
    "name": "Health",
    "prefix": "HLTH"
    },
    {
    "name": "Honors Contract",
    "prefix": "HNRC"
    },
    {
    "name": "Honors",
    "prefix": "HNRS"
    },
    {
    "name": "Industrial and Manufacturing Engineering",
    "prefix": "IME"
    },
    {
    "name": "Interdisciplinary Studies in Liberal Arts",
    "prefix": "ISLA"
    },
    {
    "name": "Italian",
    "prefix": "ITAL"
    },
    {
    "name": "Industrial Technology and Packaging",
    "prefix": "ITP"
    },
    {
    "name": "Journalism",
    "prefix": "JOUR"
    },
    {
    "name": "Japanese",
    "prefix": "JPNS"
    },
    {
    "name": "Kinesiology",
    "prefix": "KINE"
    },
    {
    "name": "Landscape Architecture",
    "prefix": "LA"
    },
    {
    "name": "Liberal Arts and Engineering Studies",
    "prefix": "LAES"
    },
    {
    "name": "Liberal Studies",
    "prefix": "LS"
    },
    {
    "name": "Materials Engineering",
    "prefix": "MATE"
    },
    {
    "name": "Mathematics",
    "prefix": "MATH"
    },
    {
    "name": "Microbiology",
    "prefix": "MCRO"
    },
    {
    "name": "Mechanical Engineering",
    "prefix": "ME"
    },
    {
    "name": "Marine Science",
    "prefix": "MSCI"
    },
    {
    "name": "Military Science Leadership",
    "prefix": "MSL"
    },
    {
    "name": "Music",
    "prefix": "MU"
    },
    {
    "name": "Natural Resources",
    "prefix": "NR"
    },
    {
    "name": "Physical Education: Men",
    "prefix": "PEM"
    },
    {
    "name": "Physical Education: Women",
    "prefix": "PEW"
    },
    {
    "name": "Philosophy",
    "prefix": "PHIL"
    },
    {
    "name": "Physics",
    "prefix": "PHYS"
    },
    {
    "name": "Plant Sciences",
    "prefix": "PLSC"
    },
    {
    "name": "Political Science",
    "prefix": "POLS"
    },
    {
    "name": "Physical Science",
    "prefix": "PSC"
    },
    {
    "name": "Psychology",
    "prefix": "PSY"
    },
    {
    "name": "Religious Studies",
    "prefix": "RELS"
    },
    {
    "name": "Recreation, Parks and Tourism Administration",
    "prefix": "RPTA"
    },
    {
    "name": "Science and Mathematics",
    "prefix": "SCM"
    },
    {
    "name": "Sociology",
    "prefix": "SOC"
    },
    {
    "name": "Spanish",
    "prefix": "SPAN"
    },
    {
    "name": "Special Education",
    "prefix": "SPED"
    },
    {
    "name": "Soil Science",
    "prefix": "SS"
    },
    {
    "name": "Statistics",
    "prefix": "STAT"
    },
    {
    "name": "Theatre",
    "prefix": "TH"
    },
    {
    "name": "University Studies",
    "prefix": "UNIV"
    },
    {
    "name": "Women's, Gender and Queer Studies",
    "prefix": "WGQS"
    },
    {
    "name": "World Languages and Cultures",
    "prefix": "WLC"
    },
    {
    "name": "Wine and Viticulture",
    "prefix": "WVIT"
    }
    ]
  2. Request:
    curl -X 'GET' \
    'https://degree-prerequisite-tracker.onrender.com/subjects/AERO/courses' \
    -H 'accept: application/json'

    Response:

    [
    {
    "courseId": 2,
    "courseName": "Aerospace Fundamentals",
    "courseNumber": 121
    },
    {
    "courseId": 3,
    "courseName": "Special Problems for Undergraduates",
    "courseNumber": 200
    },
    {
    "courseId": 4,
    "courseName": "Introduction to Aerospace Design",
    "courseNumber": 215
    },
    {
    "courseId": 5,
    "courseName": "Aerospace Systems Engineering and Integration",
    "courseNumber": 220
    },
    {
    "courseId": 6,
    "courseName": "Selected Topics",
    "courseNumber": 270
    },
    {
    "courseId": 7,
    "courseName": "Aerospace Thermodynamics",
    "courseNumber": 299
    },
    {
    "courseId": 8,
    "courseName": "Aerospace Engineering Analysis",
    "courseNumber": 300
    },
    {
    "courseId": 9,
    "courseName": "Aerospace Fluid Mechanics",
    "courseNumber": 302
    },
    {
    "courseId": 10,
    "courseName": "Aerospace Gas Dynamics and Heat Transfer",
    "courseNumber": 303
    },
    {
    "courseId": 11,
    "courseName": "Aerodynamics and Flight Performance",
    "courseNumber": 306
    },
    {
    "courseId": 12,
    "courseName": "Experimental Aerodynamics",
    "courseNumber": 307
    },
    {
    "courseId": 13,
    "courseName": "Air and Space",
    "courseNumber": 310
    },
    {
    "courseId": 14,
    "courseName": "Fundamentals of Dynamics and Control",
    "courseNumber": 320
    },
    {
    "courseId": 15,
    "courseName": "Experimental Sensors, Actuators and Control",
    "courseNumber": 321
    },
    {
    "courseId": 16,
    "courseName": "Aerospace Structural Analysis I",
    "courseNumber": 331
    },
    {
    "courseId": 17,
    "courseName": "Fundamentals of Systems Engineering",
    "courseNumber": 350
    },
    {
    "courseId": 18,
    "courseName": "Introduction to Orbital Mechanics",
    "courseNumber": 351
    },
    {
    "courseId": 19,
    "courseName": "Space Environment Laboratory",
    "courseNumber": 354
    },
    {
    "courseId": 20,
    "courseName": "Space Environments I",
    "courseNumber": 355
    },
    {
    "courseId": 21,
    "courseName": "Space Environments II",
    "courseNumber": 356
    },
    {
    "courseId": 22,
    "courseName": "Creative Problem Solving in Engineering Design",
    "courseNumber": 360
    },
    {
    "courseId": 23,
    "courseName": "Special Problems for Advanced Undergraduates",
    "courseNumber": 400
    },
    {
    "courseId": 24,
    "courseName": "Propulsion Systems",
    "courseNumber": 401
    },
    {
    "courseId": 25,
    "courseName": "Spacecraft Propulsion Systems",
    "courseNumber": 402
    },
    {
    "courseId": 26,
    "courseName": "Supersonic and Hypersonic Aerodynamics",
    "courseNumber": 405
    },
    {
    "courseId": 27,
    "courseName": "Applied Computational Fluid Dynamics",
    "courseNumber": 406
    },
    {
    "courseId": 28,
    "courseName": "Reentry Aerodynamics",
    "courseNumber": 407
    },
    {
    "courseId": 29,
    "courseName": "Plasma Applications in Aerospace",
    "courseNumber": 408
    },
    {
    "courseId": 30,
    "courseName": "Flight Test",
    "courseNumber": 409
    },
    {
    "courseId": 31,
    "courseName": "Aircraft Dynamics and Control",
    "courseNumber": 420
    },
    {
    "courseId": 32,
    "courseName": "Spacecraft Attitude Dynamics and Control",
    "courseNumber": 421
    },
    {
    "courseId": 33,
    "courseName": "Aircraft Performance",
    "courseNumber": 425
    },
    {
    "courseId": 34,
    "courseName": "Aerospace Structural Analysis II",
    "courseNumber": 431
    },
    {
    "courseId": 35,
    "courseName": "Advanced Composite Structures Analysis",
    "courseNumber": 432
    },
    {
    "courseId": 36,
    "courseName": "Experimental Stress Analysis",
    "courseNumber": 433
    },
    {
    "courseId": 37,
    "courseName": "Aerospace Structural Analysis III",
    "courseNumber": 434
    },
    {
    "courseId": 38,
    "courseName": "Aerospace Numerical Analysis",
    "courseNumber": 435
    },
    {
    "courseId": 39,
    "courseName": "Aircraft Design I",
    "courseNumber": 443
    },
    {
    "courseId": 40,
    "courseName": "Aircraft Design II",
    "courseNumber": 444
    },
    {
    "courseId": 41,
    "courseName": "Aircraft Design III",
    "courseNumber": 445
    },
    {
    "courseId": 42,
    "courseName": "Spacecraft Electrical and Electric Systems",
    "courseNumber": 446
    },
    {
    "courseId": 43,
    "courseName": "Spacecraft Design I",
    "courseNumber": 447
    },
    {
    "courseId": 44,
    "courseName": "Spacecraft Design II",
    "courseNumber": 448
    },
    {
    "courseId": 45,
    "courseName": "Spacecraft Design III",
    "courseNumber": 449
    },
    {
    "courseId": 46,
    "courseName": "Introduction to Aerospace Systems Engineering",
    "courseNumber": 450
    },
    {
    "courseId": 47,
    "courseName": "Spaceflight Dynamics II",
    "courseNumber": 452
    },
    {
    "courseId": 48,
    "courseName": "Introduction to Human Spaceflight",
    "courseNumber": 455
    },
    {
    "courseId": 49,
    "courseName": "Aerospace Engineering Professional Preparation",
    "courseNumber": 460
    },
    {
    "courseId": 50,
    "courseName": "Aerospace Systems Senior Laboratory",
    "courseNumber": 465
    },
    {
    "courseId": 51,
    "courseName": "Selected Advanced Topics",
    "courseNumber": 470
    },
    {
    "courseId": 52,
    "courseName": "Selected Advanced Laboratory",
    "courseNumber": 471
    },
    {
    "courseId": 53,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 493
    },
    {
    "courseId": 54,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 494
    },
    {
    "courseId": 55,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 495
    },
    {
    "courseId": 56,
    "courseName": "Individual Study",
    "courseNumber": 500
    },
    {
    "courseId": 57,
    "courseName": "Applications of Remotely Piloted Aircraft Systems",
    "courseNumber": 513
    },
    {
    "courseId": 58,
    "courseName": "Continuum Mechanics",
    "courseNumber": 515
    },
    {
    "courseId": 59,
    "courseName": "Boundary-Layer Theory",
    "courseNumber": 522
    },
    {
    "courseId": 60,
    "courseName": "Computational Fluid Dynamics",
    "courseNumber": 525
    },
    {
    "courseId": 61,
    "courseName": "Spacecraft Thermal/Fluid Control",
    "courseNumber": 526
    },
    {
    "courseId": 62,
    "courseName": "Advanced Aerospace Composite Design",
    "courseNumber": 532
    },
    {
    "courseId": 63,
    "courseName": "Finite Elements for Aerospace Structural Analysis",
    "courseNumber": 533
    },
    {
    "courseId": 64,
    "courseName": "Aerospace Structural Dynamics Analysis",
    "courseNumber": 534
    },
    {
    "courseId": 65,
    "courseName": "Advanced Aerospace Structural Analysis",
    "courseNumber": 535
    },
    {
    "courseId": 66,
    "courseName": "Elements of Rocket Propulsion",
    "courseNumber": 540
    },
    {
    "courseId": 67,
    "courseName": "Air Breathing Propulsion",
    "courseNumber": 541
    },
    {
    "courseId": 68,
    "courseName": "Complexity in Engineered Systems",
    "courseNumber": 548
    },
    {
    "courseId": 69,
    "courseName": "Systems Engineering Applications",
    "courseNumber": 549
    },
    {
    "courseId": 70,
    "courseName": "Advanced Control Theory",
    "courseNumber": 553
    },
    {
    "courseId": 71,
    "courseName": "Advanced Orbital Mechanics",
    "courseNumber": 557
    },
    {
    "courseId": 72,
    "courseName": "Advanced Spacecraft Dynamics and Control",
    "courseNumber": 560
    },
    {
    "courseId": 73,
    "courseName": "Vehicle Integration and Testing",
    "courseNumber": 561
    },
    {
    "courseId": 74,
    "courseName": "Space Operations",
    "courseNumber": 562
    },
    {
    "courseId": 75,
    "courseName": "Advanced Topics in Aircraft Design",
    "courseNumber": 565
    },
    {
    "courseId": 76,
    "courseName": "Advanced Topics in Spacecraft Design",
    "courseNumber": 566
    },
    {
    "courseId": 77,
    "courseName": "Aerodynamic Research and Development I",
    "courseNumber": 568
    },
    {
    "courseId": 78,
    "courseName": "Aerodynamic Research and Development II",
    "courseNumber": 569
    },
    {
    "courseId": 79,
    "courseName": "Selected Advanced Topics",
    "courseNumber": 570
    },
    {
    "courseId": 80,
    "courseName": "Selected Advanced Topics Laboratory",
    "courseNumber": 571
    },
    {
    "courseId": 81,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 593
    },
    {
    "courseId": 82,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 594
    },
    {
    "courseId": 83,
    "courseName": "Cooperative Education Experience",
    "courseNumber": 595
    },
    {
    "courseId": 84,
    "courseName": "Thesis (Design Project)",
    "courseNumber": 599
    }
    ]
  3. Request:
    curl -X 'GET' \
    'https://degree-prerequisite-tracker.onrender.com/courses/71' \
    -H 'accept: application/json'

    Response:

    {
    "prefix": "AERO",
    "number": 557,
    "name": "Advanced Orbital Mechanics",
    "description": "Initial orbit determination using angles only methods.  Various Solutions to Lambert's Problem.  Orbit and transfer optimization, libration points, halo orbits, and secondary orbit perturbations.  4 lectures."
    }

Creating a plan and retrieving it

  1. Request:

    curl -X 'POST' \
    'https://eciuedmxxubiurblwicm.supabase.co/auth/v1/signup' \
    -H 'accept: */*' \
    -H 'Apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImVjaXVlZG14eHViaXVyYmx3aWNtIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Mjk5Nzg4MzgsImV4cCI6MjA0NTU1NDgzOH0.4Yj5yja7Phb6880eMh46WyyNJSfaHNLaOhPvlNkzuHM' \
    -H 'Content-Type: application/json' \
    -d '{
    "email": "asdf123@gmail.com",
    "password": "asdf123"
    }'

    Response:

    
    "access_token": "eyJhbGciOiJIUzI1NiIsImtpZCI6IkhKSGVQbWhqMk5iS3BFOS8iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2VjaXVlZG14eHViaXVyYmx3aWNtLnN1cGFiYXNlLmNvL2F1dGgvdjEiLCJzdWIiOiI0ZTY1YWJmZS0yNDFlLTRmYTEtOWFjZi1mODhjNmI3YTAzMjgiLCJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNzMxMTg1MDM2LCJpYXQiOjE3MzExODE0MzYsImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7ImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX3ZlcmlmaWVkIjpmYWxzZSwic3ViIjoiNGU2NWFiZmUtMjQxZS00ZmExLTlhY2YtZjg4YzZiN2EwMzI4In0sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoicGFzc3dvcmQiLCJ0aW1lc3RhbXAiOjE3MzExODE0MzZ9XSwic2Vzc2lvbl9pZCI6ImViODFhM2M2LTVlM2MtNDM5My1iMTExLWFlNmY3YmM3OWNhNCIsImlzX2Fub255bW91cyI6ZmFsc2V9.YpB35yGb2K8HFqJfc_MN1KWZh5A7JBiRbIR3XnzKjhM",
    "token_type": "bearer",
    "expires_in": 3600,
    "expires_at": 1731185036,
    "refresh_token": "e2BKe6WjkVzG4JgcHNqqUA",
    "user": {
    "id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
    "aud": "authenticated",
    "role": "authenticated",
    "email": "asdf123@gmail.com",
    "email_confirmed_at": "2024-11-09T19:43:56.177247715Z",
    "phone": "",
    "last_sign_in_at": "2024-11-09T19:43:56.180567133Z",
    "app_metadata": {
      "provider": "email",
      "providers": [
        "email"
      ]
    },
    "user_metadata": {
      "email": "asdf123@gmail.com",
      "email_verified": false,
      "phone_verified": false,
      "sub": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328"
    },
    "identities": [
      {
        "identity_id": "211a5e6b-dc67-4d9f-a837-f1d63b726e67",
        "id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
        "user_id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
        "identity_data": {
          "email": "asdf123@gmail.com",
          "email_verified": false,
          "phone_verified": false,
          "sub": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328"
        },
        "provider": "email",
        "last_sign_in_at": "2024-11-09T19:43:56.172814766Z",
        "created_at": "2024-11-09T19:43:56.17287Z",
        "updated_at": "2024-11-09T19:43:56.17287Z",
        "email": "asdf123@gmail.com"
      }
    ],
    "created_at": "2024-11-09T19:43:56.165231Z",
    "updated_at": "2024-11-09T19:43:56.191338Z",
    "is_anonymous": false
    }
    }
  2. Request:
    curl -X 'POST' \
    'https://degree-prerequisite-tracker.onrender.com/plans' \
    -H 'accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IkhKSGVQbWhqMk5iS3BFOS8iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2VjaXVlZG14eHViaXVyYmx3aWNtLnN1cGFiYXNlLmNvL2F1dGgvdjEiLCJzdWIiOiI0ZTY1YWJmZS0yNDFlLTRmYTEtOWFjZi1mODhjNmI3YTAzMjgiLCJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNzMxMTg1MDU3LCJpYXQiOjE3MzExODE0NTcsImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7ImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX3ZlcmlmaWVkIjpmYWxzZSwic3ViIjoiNGU2NWFiZmUtMjQxZS00ZmExLTlhY2YtZjg4YzZiN2EwMzI4In0sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoicGFzc3dvcmQiLCJ0aW1lc3RhbXAiOjE3MzExODE0NTd9XSwic2Vzc2lvbl9pZCI6IjViYWE2ZDdjLWI5MmQtNGU2Yi05NGMwLTAxOTI0MGJjNTM2YyIsImlzX2Fub255bW91cyI6ZmFsc2V9.2zztPsNqbgJz5gHZqgaO1sy6cmHFQRX77hMdoen7J70' \
    -H 'Content-Type: application/json' \
    -d '{
    "programId": 23,
    "concentrationId": 26,
    "graduationDate": "2026-06-30"
    }'

    Response:

    {
    "planId": 14
    }
  3. Request:
    curl -X 'GET' \
    'https://degree-prerequisite-tracker.onrender.com/plans' \
    -H 'accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IkhKSGVQbWhqMk5iS3BFOS8iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2VjaXVlZG14eHViaXVyYmx3aWNtLnN1cGFiYXNlLmNvL2F1dGgvdjEiLCJzdWIiOiI0ZTY1YWJmZS0yNDFlLTRmYTEtOWFjZi1mODhjNmI3YTAzMjgiLCJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNzMxMTg1MDU3LCJpYXQiOjE3MzExODE0NTcsImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7ImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX3ZlcmlmaWVkIjpmYWxzZSwic3ViIjoiNGU2NWFiZmUtMjQxZS00ZmExLTlhY2YtZjg4YzZiN2EwMzI4In0sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoicGFzc3dvcmQiLCJ0aW1lc3RhbXAiOjE3MzExODE0NTd9XSwic2Vzc2lvbl9pZCI6IjViYWE2ZDdjLWI5MmQtNGU2Yi05NGMwLTAxOTI0MGJjNTM2YyIsImlzX2Fub255bW91cyI6ZmFsc2V9.2zztPsNqbgJz5gHZqgaO1sy6cmHFQRX77hMdoen7J70'

    Response:

    [
    {
    "planId": 14,
    "graduationDate": "2026-06-30T00:00:00.000Z",
    "programName": "Computer Science",
    "concentrationName": "Artificial Intelligence and Machine Learning"
    }
    ]

    Marking a course as completed

  4. Request:
    curl -X 'POST' \
    'https://eciuedmxxubiurblwicm.supabase.co/auth/v1/token?grant_type=password' \
    -H 'accept: */*' \
    -H 'Apikey: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImVjaXVlZG14eHViaXVyYmx3aWNtIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Mjk5Nzg4MzgsImV4cCI6MjA0NTU1NDgzOH0.4Yj5yja7Phb6880eMh46WyyNJSfaHNLaOhPvlNkzuHM' \
    -H 'Content-Type: application/json' \
    -d '{
    "email": "asdf123@gmail.com",
    "password": "asdf123"
    }'
  5. Response:
    {
    "access_token": "eyJhbGciOiJIUzI1NiIsImtpZCI6IkhKSGVQbWhqMk5iS3BFOS8iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2VjaXVlZG14eHViaXVyYmx3aWNtLnN1cGFiYXNlLmNvL2F1dGgvdjEiLCJzdWIiOiI0ZTY1YWJmZS0yNDFlLTRmYTEtOWFjZi1mODhjNmI3YTAzMjgiLCJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNzMxMTg2MTQ0LCJpYXQiOjE3MzExODI1NDQsImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7ImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX3ZlcmlmaWVkIjpmYWxzZSwic3ViIjoiNGU2NWFiZmUtMjQxZS00ZmExLTlhY2YtZjg4YzZiN2EwMzI4In0sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoicGFzc3dvcmQiLCJ0aW1lc3RhbXAiOjE3MzExODI1NDR9XSwic2Vzc2lvbl9pZCI6Ijc0ZGEzMWNiLTRjZDAtNGJhOC05MmUyLWE1ZWMzZjdlMDA4OSIsImlzX2Fub255bW91cyI6ZmFsc2V9.NjMhA6eI49SO---PoOy8NEw2onvVioc-sfhYpuJSIVE",
    "token_type": "bearer",
    "expires_in": 3600,
    "expires_at": 1731186144,
    "refresh_token": "bayfuaSpzR0F1s1liDTVGA",
    "user": {
    "id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
    "aud": "authenticated",
    "role": "authenticated",
    "email": "asdf123@gmail.com",
    "email_confirmed_at": "2024-11-09T19:43:56.177247Z",
    "phone": "",
    "confirmed_at": "2024-11-09T19:43:56.177247Z",
    "last_sign_in_at": "2024-11-09T20:02:24.077034726Z",
    "app_metadata": {
      "provider": "email",
      "providers": [
        "email"
      ]
    },
    "user_metadata": {
      "email": "asdf123@gmail.com",
      "email_verified": false,
      "phone_verified": false,
      "sub": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328"
    },
    "identities": [
      {
        "identity_id": "211a5e6b-dc67-4d9f-a837-f1d63b726e67",
        "id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
        "user_id": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328",
        "identity_data": {
          "email": "asdf123@gmail.com",
          "email_verified": false,
          "phone_verified": false,
          "sub": "4e65abfe-241e-4fa1-9acf-f88c6b7a0328"
        },
        "provider": "email",
        "last_sign_in_at": "2024-11-09T19:43:56.172814Z",
        "created_at": "2024-11-09T19:43:56.17287Z",
        "updated_at": "2024-11-09T19:43:56.17287Z",
        "email": "asdf123@gmail.com"
      }
    ],
    "created_at": "2024-11-09T19:43:56.165231Z",
    "updated_at": "2024-11-09T20:02:24.07868Z",
    "is_anonymous": false
    }
    }
  6. Request:
    curl -X 'PUT' \
    'https://degree-prerequisite-tracker.onrender.com/users/history/557' \
    -H 'accept: */*' \
    -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IkhKSGVQbWhqMk5iS3BFOS8iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2VjaXVlZG14eHViaXVyYmx3aWNtLnN1cGFiYXNlLmNvL2F1dGgvdjEiLCJzdWIiOiI0ZTY1YWJmZS0yNDFlLTRmYTEtOWFjZi1mODhjNmI3YTAzMjgiLCJhdWQiOiJhdXRoZW50aWNhdGVkIiwiZXhwIjoxNzMxMTg2MTQ0LCJpYXQiOjE3MzExODI1NDQsImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJwaG9uZSI6IiIsImFwcF9tZXRhZGF0YSI6eyJwcm92aWRlciI6ImVtYWlsIiwicHJvdmlkZXJzIjpbImVtYWlsIl19LCJ1c2VyX21ldGFkYXRhIjp7ImVtYWlsIjoiYXNkZjEyM0BnbWFpbC5jb20iLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInBob25lX3ZlcmlmaWVkIjpmYWxzZSwic3ViIjoiNGU2NWFiZmUtMjQxZS00ZmExLTlhY2YtZjg4YzZiN2EwMzI4In0sInJvbGUiOiJhdXRoZW50aWNhdGVkIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoicGFzc3dvcmQiLCJ0aW1lc3RhbXAiOjE3MzExODI1NDR9XSwic2Vzc2lvbl9pZCI6Ijc0ZGEzMWNiLTRjZDAtNGJhOC05MmUyLWE1ZWMzZjdlMDA4OSIsImlzX2Fub255bW91cyI6ZmFsc2V9.NjMhA6eI49SO---PoOy8NEw2onvVioc-sfhYpuJSIVE'

    Response: 200 OK