Must use Redux or any state management libraries
- Displays a list of Address in Vietnam. Each Address consists of street name, ward, district, city, country....
Street Name | Ward | District | City | Country |
---|---|---|---|---|
72 Le Thanh Ton | Ben Nghe ward | District 1 | Ho Chi Minh city | Vietnam |
138 Hai Ba Trung | Da Kao ward | District 1 | Ho Chi Minh city | Vietnam |
... | ... | ... | ... | ... |
-
Use Google Firebase to store data
-
Must use a CSS framework: Bootstrap, Semantics or Foundation...
-
Must use a linting tool like ESLint, JSHint. Avoid inconsistent code style or syntax errors.
-
User can add an Address using ALL OF THE methods listed below:
- Method1: Form with simple text inputs
Validation rules are as followed: - "street" is always required - if "city" is present, then "ward" and "district" are not required - if "city" is not present, then both "ward" and "district" are required
- Method2: A Google Map object
-
User can Edit an Address in the same manner as Adding an Address
-
When Adding or Editting an Address, user can have an option to pick their current location as well
-
User should be able to export a CSV file containing all of the Addresses
This is not intended to be a 30-mins test