Overview
Summary
Contact
Donate
Imprint
Prompt for the
CourseView
Please create a React-JS view called "CourseView" for the fields of the Course entity. The CourseView must contain the following fields: - name: Description type: STRING - name: DurationMinutes type: INT - name: IsPremium type: BOOL - name: Language type: STRING - name: Level type: STRING - name: ProviderCompany type: Company - name: ReleasedAt type: DATE - name: Title type: STRING - name: Url type: STRING The data source for the [ProviderCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Course entity should be loaded from the relative URL: "/CompanyService/course/{id}" (HTTP-GET) If a new Course entity has been created, the new entity should be posted to the relative URL: "/CompanyService/course" (HTTP-POST) If an existing Course entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/course/{id}" (HTTP-PUT) If an existing Course entity has to be deleted, the following relative URL should be called: "/CompanyService/course/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Enrollment columns: - column: Course - column: EnrolledAt - column: User - column: Status - column: ProgressPercent - column: CompletedAt The table should have the title "Enrollments" und the data must be loaded from the server with the following relative URL: "/SkillService/enrollment/course/{id}" Add a HTML table to the view with the following CourseTopic columns: - column: Course - column: LearningTopic The table should have the title "CourseTopics" und the data must be loaded from the server with the following relative URL: "/LearningTopicService/coursetopic/course/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint