Giter VIP home page Giter VIP logo

mylocations's Introduction

Front-End (React) Practical Exam

An example of React code exam and a solution. First try to solve this yourself - use this source code as an assitance

Overview

The exam is designed to test your ability to cope with the new technologies and ability to learn and integrate with external frameworks. There is no algorithmic complexity or computation challenge. It is completely trivial in this respect. While the correctness of the implementation, the lack of bugs and the overall look and feel of the external result is of the highest importance, the elegancy of the code, usage of the correct language idioms and patterns and the coding conventions and practices applied will also play a major factor when evaluating the solution. It should behave well both externally and internally.

Development Environment

You can use the IDE of your liking to develop this part of the solution.

React

It is expected that you base your design on either a Flux architecture, preferably, Redux, or on MobX. Use babel and webpack to support es2015 style jsx syntax and module loading.

Sample Application Description

The sample application is called myLocations and it allows the user to maintain a list of categorized name locations. The domain model contains two main entities, a Category and a Location. A Category has a single property: Name. A Location has the following properties: Name, Address, Coordinates, and Category. All data is saved to the locale storage of the browser (an HTML5 feature) for simplicity. The application should use the react-router module.

Use Cases

The user can manage (view, add, remove and edit) the list of Categories.
The user can manage (view, add, remove and edit) the list of Locations.
The user must fill all properties when saving an item.
The user must choose a category from a list of existing categories when defining a Location.
Each screen has a top toolbar with title and action buttons. The user executes an operation on a list item by clicking the appropriate button in the top toolbar.
The application screen has a bottom bar with two iconic buttons: Categories and Locations. The user moves between Categories and Location management by clicking on their respective icons on the bottom button bar.
The user can view all Locations sorted by alphabetical order, grouped or ungrouped by category.
The user can view only the locations assigned a specific category she chooses.
When clicking a location in the list, the user can choose to see the definition of the item or view it in on an actual map (using google maps or similar service).
When the user clicks on a location, the device will vibrate (via native bridge support).
Bonus: allow selecting the coordinates from the map service and not entering by hand.
Bonus: allow relating multiple categories to a single item, define and enhance the use cases and ui related to this.
Good Luck

mylocations's People

Contributors

niron1 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.