Hello and welcome to eWay-CRM job interview. We are happy to see you playing around with our code!
To be able to run this project on your own computer, you will need NPM & Node.JS.
To install and run this project on your computer, please create a private repository and duplicate this repository to it.
Once you have all the sources on your computer, open command line in the directory where the repository was cloned into (the directory where .gitignore
and README.md
files are located). Run
npm install
to initialize the project structure and dependencies. Then run
npm start
A new window or tab of you default browser appears and the url is http://localhost:3000. Inside the browser the react web app is running. Feel free to edit the sources and the page will reload as you save the file.
We wish you a happy coding.
The standard goal we want you to accomplish is an app consisting of two parts.
First part is a form where the user types contact's email address. After submitting the form, something like a business card containing the contact's info should appear. The profile picture should be shown as well.
You should also handle the states, where wrong user input is given or no contact is found.
Second part of the app is a list of previously visited contacts. This list must preserve browser window/tab close and reopen. The user should be able to click the contacts they previously visited and open their business card again. Keep in mind, that contact info including the email address might change over time. If so, you should update the data in the preserverd list. Items in the list must not sync among other users or devices.
The library for communication with eWay-CRM API is already included.
Feel free to update or add new dependencies. Using the latest React features is welcome.
Once you have your amazing app, commit and push the codes to your repo. Give havri permissions to your repository.
Let us know when the final revision is pushed (commit/tag/branch). We are looking forward to see your results.