A GraphQL microservice that interacts with schedule-API.
You can check schema, docs or test some requests here
To make an API call you're able to use either of them:
/
/graphql
{
teacherSchedule(teacher: "Козленко Микола Іванович", date_to: "09.04.2020") {
teacher
schedule {
date
day
items {
number
time_bounds
info
}
}
}
groupSchedule(group: "ІПЗ-41", date_to: "09.04.2020") {
group
schedule {
date
items {
number
}
}
}
groups(query: "ІПЗ")
teachers(query: "Козич")
college: faculties(query: "Коледж") {
name
}
mif: faculties(code: 1002) {
name
}
}
-
Clone the project:
git clone [email protected]:thestd/schedule-graphql.git cd schedule-graphql
-
Install the dependencies:
npm install
-
Run the application
npm start
or
npm start:dev
-
Server should be ready at
localhost:3000