Giter Club home page Giter Club logo

grade_backend's Introduction

OpenApi: http://localhost:8080/swagger-ui/index.html

/api/student/getGradesByStudentEmail -- приймає email і діапазон дати і повертай всі оцінки студента. Приклад запиту: http://localhost:8080/api/student/getGradesByStudentEmail?email=s30001@g&startDate=2022-01-01&endDate=2023-01-01
Повертає: [{"grade":96,"courseCourseNameName":"Колоїдна хімія","createdAt":"2022-06-11T15:00:43.19027+03:00"},{"grade":10,"courseCourseNameName":"Іноземна мова (за професійним спрямуванням)","createdAt":"2022-02-23T01:59:27.324908+02:00"}]

/api/student/getAbsencesByStudentEmail -- приймає email і діапазон дати і повертай всі пропуски студента. Приклад запиту: http://localhost:8080/api/student/getAbsencesByStudentEmail?email=s30001@g&startDate=2022-01-01&endDate=2023-01-01
Повертає: [{"courseCourseNameName":"Практика першої мови (англійська)","data":"2022-05-27T12:00:44.505792+03:00"},{"courseCourseNameName":"Ботаніка","data":"2022-09-11T07:41:42.345805+03:00"}]

/api/teacher/getTeacherInfoByEmail -- приймає email викладача і повертає інформацію про нього. Приклад запиту: http://localhost:8080/api/teacher/getTeacherInfoByEmail?email=t1@g
Повертає: {"name":"Станіслав","patronimic":"Михайлович","sex":"MALE","surname":"Первунінський","active":true,"departmentName":"програмного забезпечення автоматизованих систем","departmentFacultyName":"факультет інформаційних технологій і систем","positionName":"професор","scientificDegreeName":"доктор технічних наук"}

/api/teacher/getGroupByTeacherEmail -- приймає email викладача і повертає список його груп. Приклад запиту: http://localhost:8080/api/teacher/getGroupByTeacherEmail?email=t914@g
Повертає: [{"id":1067,"name":"Т-71"},{"id":1405,"name":"ГРС-82"},{"id":1070,"name":"ГРС-72"},{"id":1683,"name":"ГРС-92"},{"id":1685,"name":"ЗГРС-92"},{"id":1082,"name":"ЗГРС-72"},{"id":1404,"name":"Т-81"}]

/api/teacher/getStudentsByStudentGroupId -- приймає id групи і повертає список студентів групи. Приклад запиту: http://localhost:8080/api/teacher/getStudentsByStudentGroupId?id=1067
Повертає: [{"name":"Лариса","patronimic":"Альбертович","surname":"Абуеіда","email":"s30886@g"},{"name":"Свєта","patronimic":"Мухамметисламович","surname":"Бобилєв","email":"s31136@g"}]

/api/teacher/getGroupInfo -- приймає id групи і повертає інформацію про неї. Приклад запиту: http://localhost:8080/api/teacher/getGroupInfo?id=1067
Повертає: {"name":"Т-71","active":true,"beginYears":1,"creationYear":2017,"studySemesters":8,"studyYears":3.84,"specializationName":"Туризм","specializationDegreeName":"Бакалавр","specializationDepartmentName":"туризму та готельно-ресторанної справи","specializationFacultyName":"факультет харчових технологій та сфери обслуговування","specializationSpecialityName":"Туризм","specializationProgramHeadName":"Світлана","specializationProgramHeadPatronimic":"Станіславівна","specializationProgramHeadSurname":"Бєляєва"}

/api/student/getByStudentEmailAndCourseSemester -- Приймає email студента і семестре і повертає список предметів. Приклад запиту: http://localhost:8080/api/student/getCoursesByEmailAndSemester?email=s30006@g&semester=5
Повертає: ["Історія науки і техніки","Взаємозамінність з КП","Технічна механіка мікросистем","Електроніка та мікросхемотехніка","Біофізика та біомеханіка","Біометрія"]

/api/student/getStudentInfoByEmail --Приймає email студента і повертає інформацію про нього. http://localhost:8080/api/student/getStudentInfoByEmail?email=s30006@g
Повертає: {"specializationName":"","studentId":30006,"studentName":"Катерина","studentPatronimic":"Гафтілхаєвич","studentSex":"MALE","studentSurname":"Бобилєв","studentEmail":"s30006@g","studentTelephone":null,"studentGroupId":1164,"studentGroupName":"ЗМП-74ін"}

/api/teacher/getTeacherOrStudentByEmail -- Приймає email і повертає чи належить він викладачу чи студенту. http://localhost:8080/api/teacher/getTeacherOrStudentByEmail?email=t914@g
Повертає: teacher

http://localhost:8080/api/teacher/getGroupByEmailSemesterAndIdNameCourse?email=t914@g&semester=3&id=2075

grade_backend's People

Contributors

nfolzordo avatar vladislavkravets avatar

Watchers

 avatar

Forkers

oleksjuk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.