Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyApp
Please create a React-JS application for the CompanyModule. The application has to offer the following views for the user interface: 1. CompanyView 2. CompanyEmployeeView 3. CourseView 4. ExperienceView 5. FollowView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The CompanyView must contain the following fields: - name: CompanySizeMax type: INT - name: CompanySizeMin type: INT - name: Description type: STRING - name: FoundedYear type: INT - name: HeadquartersLocation type: STRING - name: Industry type: STRING - name: LogoUrl type: STRING - name: Name type: STRING - name: Type type: STRING - name: WebsiteUrl type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Experience columns: - column: Title - column: EmploymentType - column: Location - column: Description - column: EndDate - column: Company - column: StartDate - column: User - column: IsCurrent The table should have the title "Experiences" und the data must be loaded from the server with the following relative URL: "/CompanyService/experience/company/{id}" Add a HTML table to the view with the following Course columns: - column: Language - column: IsPremium - column: ProviderCompany - column: Level - column: ReleasedAt - column: DurationMinutes - column: Description - column: Url - column: Title The table should have the title "Courses" und the data must be loaded from the server with the following relative URL: "/CompanyService/course/providercompany/{id}" Add a HTML table to the view with the following CompanyEmployee columns: - column: IsCurrent - column: SinceDate - column: Title - column: Company - column: User The table should have the title "CompanyEmployees" und the data must be loaded from the server with the following relative URL: "/CompanyService/companyemployee/company/{id}" Add a HTML table to the view with the following Follow columns: - column: FollowerUser - column: CreatedAt - column: Company - column: TargetUser The table should have the title "Follows" und the data must be loaded from the server with the following relative URL: "/CompanyService/follow/company/{id}" Add a HTML table to the view with the following Product columns: - column: ReviewsCount - column: Name - column: AverageRating - column: Description - column: Company - column: ProductCategory - column: Url The table should have the title "Products" und the data must be loaded from the server with the following relative URL: "/ProductService/product/company/{id}" Add a HTML table to the view with the following Post columns: - column: AuthorUser - column: UpdatedAt - column: OriginalPost - column: MediaUrl - column: Body - column: Visibility - column: Company - column: CreatedAt - column: IsReshare The table should have the title "Posts" und the data must be loaded from the server with the following relative URL: "/PostService/post/company/{id}" Add a HTML table to the view with the following Job columns: - column: SalaryMax - column: Description - column: SeniorityLevel - column: Title - column: ExpirationAt - column: PostedAt - column: RemoteAllowed - column: SalaryMin - column: Location - column: SalaryCurrency - column: Company - column: WorkplaceType - column: EmploymentType - column: IsActive - column: PostedByUser The table should have the title "Jobs" und the data must be loaded from the server with the following relative URL: "/UserAccountService/job/company/{id}" 2. The CompanyEmployeeView must contain the following fields: - name: Company type: Company - name: IsCurrent type: BOOL - name: SinceDate type: DATE - name: Title type: STRING - name: User type: UserAccount The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing CompanyEmployee entity should be loaded from the relative URL: "/CompanyService/companyemployee/{id}" (HTTP-GET) If a new CompanyEmployee entity has been created, the new entity should be posted to the relative URL: "/CompanyService/companyemployee" (HTTP-POST) If an existing CompanyEmployee entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/companyemployee/{id}" (HTTP-PUT) If an existing CompanyEmployee entity has to be deleted, the following relative URL should be called: "/CompanyService/companyemployee/{id}" (HTTP-DELETE) 3. 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}" 4. The ExperienceView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EmploymentType type: STRING - name: EndDate type: DATE - name: IsCurrent type: BOOL - name: Location type: STRING - name: StartDate type: DATE - name: Title type: STRING - name: User type: UserAccount The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Experience entity should be loaded from the relative URL: "/CompanyService/experience/{id}" (HTTP-GET) If a new Experience entity has been created, the new entity should be posted to the relative URL: "/CompanyService/experience" (HTTP-POST) If an existing Experience entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/experience/{id}" (HTTP-PUT) If an existing Experience entity has to be deleted, the following relative URL should be called: "/CompanyService/experience/{id}" (HTTP-DELETE) 5. The FollowView must contain the following fields: - name: Company type: Company - name: CreatedAt type: DATE - name: FollowerUser type: UserAccount - name: TargetUser type: UserAccount The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [FollowerUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [TargetUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Follow entity should be loaded from the relative URL: "/CompanyService/follow/{id}" (HTTP-GET) If a new Follow entity has been created, the new entity should be posted to the relative URL: "/CompanyService/follow" (HTTP-POST) If an existing Follow entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/follow/{id}" (HTTP-PUT) If an existing Follow entity has to be deleted, the following relative URL should be called: "/CompanyService/follow/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint