Code Monkey home page Code Monkey logo

php-developer-test's Introduction

Jump24 PHP Coding Test

This test has been designed to allow us to see your Laravel knowledge and how you approach a given problem.

If you have any questions regarding this test you can email [email protected] and we will answer any questions that you may have.

We recommend taking no more than 1 hour to complete the task, remember that if in this time you don't complete the task this won't have a negative effect on your result, a lot of this test is about your approach and how you aim/aimed to tackle the problem at hand. This will be discussed in a quick call once the task is completed.

What do we expect?

Using the project provided we want you to integrate with a 3rd party API to pull in user data.

We want this to be maintainable and flexible to potentially add other API calls to the future. This code might also be used in other parts of the application to get a fresh set of the data from the API.

There's a few pointers we would like you to think about when coming up with your solutions:

  • How we would be able to test this using PHPUnit in the future if we needed to?
  • Don't always write everything yourself you can pull in other packages if you feel they are needed.
  • What happens if the API that you're calling goes down how does the system react to this?

Task

Build a console command that pulls data from an API and stores it against the User model, this command should not have any user interaction at all but should have a way to call the next page in the pagination on the API, so if a there are 12 total pages this command should be developed in a way to call these other pages so we can potentially retrieve all the data from the API (again this isnt required but it would be great to see/hear how you would approach this.)

We could potentially use this command in a schedule to repeatedly update the users from the API, think about how this could be achieved in your command.

php-developer-test's People

Contributors

dannewnsjump24 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.