
Task using JavaScript with ES6 and Web Components
- or -
Post a project like this1753
€15(approx. $17)
- Posted:
- Proposals: 2
- Remote
- #2877307
- Awarded
Description
Experience Level: Entry
The task describes a fictive story that you should implement in JavaScript with ES6 and Web Components. Your solution should run on Chrome and Firefox. Furthermore, your solution should have no dependencies to any JavaScript library (only Standard JavaScript / ES6; #useThePlatform). But of course, as usual when defining rules, there are exceptions
: the library lit-html can/should be used).
User Story:
As application designer, I want a reusable address component with data completion so that I can put this address component on different forms.
UI mock-up:
Acceptance Criteria:
Business requirements (function):
▪ The address widget must have the following fields: o zip o city o street o houseNumber o country (is fix: “de” - Deutschland) ▪ After entering the zip code, the city should be prefilled ▪ Based on the zip/city also the streets should be selectable Only streets from the chosen city should be selectable. ▪ In the bottom of the widget there should be a button “info”. By clicking the button, a message box should be displayed where all data of the widget are formatted as JSON.
Technical requirements (non-functional):
▪ For city lookup, please reverse engineer the service from https://www.postdirekt.de/plzserver/ Select “Ort” (city) and enter for example “97070” as zip code. Please analyze how to query the data and reuse the JSON REST interface. (https://www.postdirekt.de/plzserver/PlzAjaxServlet) Because of CORS, please use: https://corsanywhere.herokuapp.com/https://www.postdirekt.de/plzserver/PlzAjaxServlet ▪ The component must be an ES6 Web Component (see MDN) and should be reusable ▪ Provide a test page that contains two time the widget on the same page
: the library lit-html can/should be used).
User Story:
As application designer, I want a reusable address component with data completion so that I can put this address component on different forms.
UI mock-up:
Acceptance Criteria:
Business requirements (function):
▪ The address widget must have the following fields: o zip o city o street o houseNumber o country (is fix: “de” - Deutschland) ▪ After entering the zip code, the city should be prefilled ▪ Based on the zip/city also the streets should be selectable Only streets from the chosen city should be selectable. ▪ In the bottom of the widget there should be a button “info”. By clicking the button, a message box should be displayed where all data of the widget are formatted as JSON.
Technical requirements (non-functional):
▪ For city lookup, please reverse engineer the service from https://www.postdirekt.de/plzserver/ Select “Ort” (city) and enter for example “97070” as zip code. Please analyze how to query the data and reuse the JSON REST interface. (https://www.postdirekt.de/plzserver/PlzAjaxServlet) Because of CORS, please use: https://corsanywhere.herokuapp.com/https://www.postdirekt.de/plzserver/PlzAjaxServlet ▪ The component must be an ES6 Web Component (see MDN) and should be reusable ▪ Provide a test page that contains two time the widget on the same page

Swathi M.
100% (5)Projects Completed
5
Freelancers worked with
3
Projects awarded
56%
Last project
14 Jun 2020
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies