Giter Club home page Giter Club logo

seiicodetestiris's Introduction

IRIS Code Test

Introduction

Congratulations on making it to the code test! Firstly you will want to do a little setup to get the project up and running. The code contains two folders - web and api. The web folder contains an Angular application where the code test will take place and the api contains a skeleton api with a single endpoint that returns subdivision data (See glossary). This test should take around 1- 2 hours. Please read all the way through this document before starting.

Submitting

Please create a new branch for your specific test. Name the branch in the format: iris-code-test- so we can recognise your submittal. Once you have completed the test make sure all your code is pushed to your branch.

Api Setup

To setup the api run the following:

Navigate to api folder: cd iris-test-api Install packages: npm install Run api: npm run start

Check the api is up and running by using: curl http://localhost:3000/v1/subdivisions

Angular app Setup

To setup the test script run the following:

At the root of the SEICodeTest folder run: npm install

To run the script: npm run start

Test

The test is broken down into three parts.

Part 1 - Retrieving and Displaying the data

The first part of this test requires you to retrieve the subdivision data from the api and display it in the angular application. This can be displayed in any way you so choose and any third party libraries can be chosen to aid in this. You can see the structure of the subdivision data in the api/src/subdivision.json file. Note: the data set contains around 1000 subdivisions so you may need to think about how that is displayed (e.g pagination, infinite scrolling etc).

Part 2

Give the user the ability to filter the data based on subdivisionDataCode (This can be either Active, Future or Builtout (See Glossary). Also, allow the user to sort the data based on subdivision name or nearMapImageDate.

Part 3

Finally, write some unit tests for the code that has been written. If you start to run out of time at this point then just attempt one test and write some comments about what other tests you would've written. Angular comes with Jasmine packaged with it so it is preferred that you use this framework however if you are low on time and are more comfortable with another testing framework (e.g Jest).

Glossary

subdivision - An area of land containing lots or plots of land for property development
subdivision status code - The status of the subdivision. Can either be:
ACTIVE: This subdivision has ongoing construction
FUTURE: This subdivision will have construction in the near future
BUILT OUT: This subdivisions construction has been completed
NearMap: NearMap is one of the providers used at Zonda satellite for our image data.

run test cases => npm run ng test run test cases dode coverage => npm run ng test --code-coverage

seiicodetestiris's People

Contributors

laura-docherty avatar santoshrshinde avatar thanhzonda avatar tkuben 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.