Overview
Summary
Contact
Donate
Imprint
Prompt for the
PostTopicApp
Please create a React-JS application for the PostTopicModule. The application has to offer the following views for the user interface: 1. PostTopicView 2. PostTopicAssignmentView 3. SavedJobView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The PostTopicView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing PostTopic entity should be loaded from the relative URL: "/PostTopicService/posttopic/{id}" (HTTP-GET) If a new PostTopic entity has been created, the new entity should be posted to the relative URL: "/PostTopicService/posttopic" (HTTP-POST) If an existing PostTopic entity has been updated, the modified entity should be sent to the relative URL: "/PostTopicService/posttopic/{id}" (HTTP-PUT) If an existing PostTopic entity has to be deleted, the following relative URL should be called: "/PostTopicService/posttopic/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PostTopicAssignment columns: - column: PostTopic - column: Post The table should have the title "PostTopicAssignments" und the data must be loaded from the server with the following relative URL: "/PostTopicService/posttopicassignment/posttopic/{id}" 2. The PostTopicAssignmentView must contain the following fields: - name: Post type: Post - name: PostTopic type: PostTopic The data source for the [Post] select control should be loaded from the relative URL: "/PostService/post" (HTTP-GET) The data source for the [PostTopic] select control should be loaded from the relative URL: "/PostTopicService/posttopic" (HTTP-GET) An existing PostTopicAssignment entity should be loaded from the relative URL: "/PostTopicService/posttopicassignment/{id}" (HTTP-GET) If a new PostTopicAssignment entity has been created, the new entity should be posted to the relative URL: "/PostTopicService/posttopicassignment" (HTTP-POST) If an existing PostTopicAssignment entity has been updated, the modified entity should be sent to the relative URL: "/PostTopicService/posttopicassignment/{id}" (HTTP-PUT) If an existing PostTopicAssignment entity has to be deleted, the following relative URL should be called: "/PostTopicService/posttopicassignment/{id}" (HTTP-DELETE) 3. The SavedJobView must contain the following fields: - name: Job type: Job - name: SavedAt type: DATE - name: User type: UserAccount The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Job] select control should be loaded from the relative URL: "/UserAccountService/job" (HTTP-GET) An existing SavedJob entity should be loaded from the relative URL: "/PostTopicService/savedjob/{id}" (HTTP-GET) If a new SavedJob entity has been created, the new entity should be posted to the relative URL: "/PostTopicService/savedjob" (HTTP-POST) If an existing SavedJob entity has been updated, the modified entity should be sent to the relative URL: "/PostTopicService/savedjob/{id}" (HTTP-PUT) If an existing SavedJob entity has to be deleted, the following relative URL should be called: "/PostTopicService/savedjob/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint