Code Monkey home page Code Monkey logo

doodle's Introduction

The challenge (Web Developer)

We would like you to build a simple chat interface in Javascript, which is able to send and display messages from all senders. Something like this:

chat

The assets and additional documentation can be found in the assets folder.

For this, we have prepared a simple API which receives new messages in a POST endpoint and lists all messages reverse chronological order in a GET endpoint:

List all messages

curl https://chatty.kubernetes.doodle-test.com/api/chatty/v1.0/?token=
[YOUR_AWESOME_UNIQUE_TOKEN]

List 10 messages before a timestamp

curl https://chatty.kubernetes.doodle-test.com/api/chatty/v1.0/?
since=1521096352339&limit=10&token=[YOUR_AWESOME_UNIQUE_TOKEN]

Send a message

curl -X POST \ -H 'Content-Type: application/json' \ -H 'token:
[YOUR_AWESOME_UNIQUE_TOKEN]' \ -d '{"message":"Hello world","author":"Tom"}' \
https://chatty.kubernetes.doodle-test.com/api/chatty/v1.0

Rules

We understand your time is precious and would not want you to spend more than 3 to 5 hours on this over the span of one week max. The outcome should be runnable locally on a UNIX-flavored OS (MacOS, Linux) in a common browser.

You must use JavaScript (Vanilla JS, React, ...). We want you to provide a responsive implementation. Keep in mind that Doodle is used worldwide and has to work on commonly used browsers.

We expect to hear back from you in one week from now, latest.

What we expect

It is OK if the challenge is not completed. Try to prioritize it by what you think is more important. Tell us what motivated your technology choices, how you tackled the task, what you would do differently were you given more time, what you would differently a second time around, etc.

Here are some pointers for you of things we will be looking for:

  • Commit often, write useful commit messages
  • Code readability
  • Performance: it should load reasonably fast on a mobile device
  • Accessibility: the more usable the interface, the better
  • Design: we are not looking for pixel-pushing, but we love attention to detail

Next steps

Send an email with a link to your repository solution to [email protected].

Make sure your email has the following subject: WD-<yourname>. So for example, if your name were "Paul Smith", your email subject would be WD-Paul Smith

We will review your solution, we strive to get back to you in 48 hours. Sometimes it might take more.

doodle's People

Contributors

petrasp avatar

Watchers

James Cloos avatar  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.