- VSCODE: with GitBash run
dotnet run
in theapi
folder and go to http://localhost:5000/GraphQL/ - VS: click on run project & open browser on https://localhost:44307/GraphQL/
- when API runs install all dependencies by
npm i
and run the projectnpm run dev
- id (int)
- name (str)
- capacity (int)
- type (str)
- difficulty (enum) // UNSPECIFIED, BEGINNER, INTERMEDIATE, ADVANCED, EXPERT
- date (date)
- duration (int) // in minutes
- price (int)
- description (str)
- skills (string[])
- content (CourseChapter[]) // CourseChapter = {name(string), subchapters(string[])}
- evaluation (float)
- placeID (int)
- instructorID (int)
- id (int)
- virtual (bool)
- name (str)
- url (str)
- address (str)
- city (str)
- id (int)
- name (str)
- surname (str)
- email (str)
- roleID (int)
- credits (int)
- id (int)
- name (str)
- userID (int)
- courseID (int)
- state (enum) // APPROVED, COMPLETED, CANCELLED
- userID (int)
- courseID (int)
- id (int)
- name (str)
- surname (str)
- age (int)
- specialization (str)
- about (str)
- contact (str)
- photoUrl (str)