React Web App for Simulating Concurrent API Requests

1000.0 USD

1000.0 USD peopleperhour Technology & Programming Overseas
8 hour ago

Description

Description:We are seeking an experienced React developer to build a two-page web application. The application will simulate API requests using mock data, support concurrent API calls for multiple URLs, and provide real-time metrics. Each component instance must independently handle requests and update results dynamically.
Page 1: API Key Input1. Purpose:o A page for users to input an API key.o On successful validation (via a mock API call), redirect the user to Page 2.2. Functionality:o Input field for API key.o Button to validate the API key.o Display error message for invalid API key (mock validation).
Page 2: API Request Component1. Inputs:o Default Country: Editable field to set a default country for all URLs unless overridden.o Default Number: Editable field to set a default number of requests for all URLs unless overridden.o URL List: A dynamic list where users can: Add multiple URLs. Specify a country for each URL (overrides the default). Specify the number of requests for each URL (overrides the default).o Buttons to add or remove rows dynamically.
Functionality:1. Concurrent API Calls:o The application must allow API calls for multiple URLs to run concurrently.o Each request will send the following payload: API Key: Entered on Page 1. URL: The specific URL for the request. Country: Either default or specified for the individual URL.o The number of requests determines how many individual calls are made for each URL, but this is not included in the payload.2. Dynamic Features:o Users can dynamically add or remove rows for multiple URLs.o Changing the default country or default number should instantly update all rows unless overridden for specific entries.3. Results Display:o Summary Table: Metrics for each URL: URL Number of Successful Requests Success Rate (%) Number of Failed Requests Failure Rate (%) Metrics must update dynamically on the front end as responses are received.o Detailed Results Table: Each instance of the component will have its own Detailed Results Table. For every individual response received, the following details must be displayed in the table of the correct instance: URL ISP IP Address Proxy Status (Green for success, Red for failure). Responses must be matched to the correct instance based on where the request originated, ensuring real-time updates.4. Multiple Component Instances:o Allow multiple instances of the component on the same page.o Each instance must work independently to handle separate API calls and update its own results.
Technical Requirements:1. Framework: The application must be built in React.2. Concurrency:o Support concurrent API calls for multiple URLs.o Ensure responses are mapped to their originating instance.3. Mock Data:o Use a static JSON or JavaScript file to simulate API responses.o Example response for each request: URL: The requested URL. ISP: Mock ISP name. IP Address: Mock IP. Proxy: Mock proxy name. Status: Mock status (success or failure).4. Error Handling:o Handle errors gracefully with appropriate user feedback.5. Responsive Design:o Ensure the application works seamlessly on desktop and mobile devices.
Deliverables:1. Fully functional two-page React application with the described functionality.2. Clean, modular, and well-documented code.3. A short README file explaining the setup, functionality, and mock data usage.
Budget and Timeline:• Please specify your estimated cost and timeline in your proposal.

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now

Similar Teleworks

I want to transfer documents from word and pdf into a mobi document to be read on kindles / e-readers. This is a little more difficult than it sounds for 2 reasons: 1. The kindles are unregistered and many of them are old (first generation). There are about 30 of them. So these need to be mobi files that we can load up using a usb connection. We cannot a) make them all work with e-pub. Also b) we cannot upload as though they are registered. 2. the documents are not a novel or essay but a drama script so the formatting needs to be preserved in an easy to read accessible format Name: "Speech" Name 2: "Speech" stage directions / sound effects possibly in italics. I am attaching a small example of the sort of thing. This means that there may be some formatting of each document to do before loading up as a mobi doc. We are looking for a reflowable set of documents. All told we will need about 70 scripts done. Half are very short (1 to 7 minutes in length) some are much longer. The longest will be one hour in listening time. But we will be paying for the total job. I shall put in a fixed price but feel free to quote your own cost. We are looking for this to be done by the end of this week. Most important to repeat is that we end up with files I can just upload through a usb cable onto the kindle. I do not want youtube video guides how to transfer in other ways. About a third of these scripts already exist as mobi files. Where this happens you are welcome just to check that they are properly working as a reflowable file and count them done. But if they are not working it may be easiest to start from scratch and convert the word / pdf into the reflowable file. The scripts are read in order and on different days – Monday to Friday. So we are looking for them to be in 5 different folders and to appear chronologically day by day on the kindle. Perhaps we should pilot one or two files and make sure we can get them to upload before then transferring the remaining documents. Before accepting a proposal I will send a link to all the files on a google drive so that the freelancer can check and feel comfortable that s/he can deliver Thanks
210.0 GBP Technology & Programming peopleperhour Overseas
1 days ago