guilhermeytalo / code-challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quave Code Challenge

Do you want to join quave as a developer? Great. Read this document and then submit your solution. Good luck.

Machine setup

If you are new to Meteor we recommend this tutorial for you to get familiar with it.

Challenge setup

Repository setup & process

  • This git repository needs to be used as your initial state.
  • Once completed remember to git push your changes.
  • This challenge should only be submitted via a GitHub Classroom assignment (read more below).

How to install dependencies

meteor npm install

How to run

meteor npm start

How to run tests

meteor npm run cypress

What you need to deliver

A mini-application that allows event hosts to check people into an event.

The home page should show:

  • an event selector (select) displaying the name of each event, by default displaying Select an event (communities collection);
  • a list of people registered in the selected event (people collection).

The list of people should allow the event host to:

  • see first and last name together (full name), company name, title, check-in date, and check-out date both using MM/DD/YYYY, HH:mm format or N/A;
  • check people into the event by clicking the "Check-in {person firstName and lastName}" button;
  • if the user was checked-in over five seconds ago, we want to see a "Check-out {person firstName and lastName}" check-out button.

Between the event selector and the list of people we want to see a summary like this:

  • People in the event right now: 10;
  • People by company in the event right now: Green Group (10), Hoppe Group (5);
  • People not checked-in: 200;

The page needs to be reactive -- no refresh should be needed to display the latest data.

Implementation rules

  • You must explain your ideas as comments in the code, we want to see how you express yourself in written English;
  • You must use Meteor as the builder and runner, React as the view layer and MongoDB as the data layer;
  • You must use MongoDB embedded in Meteor, don't configure the project to access a different MongoDB URL;
  • You must not insert new documents into communities nor into the people collection;
  • You must not change initial-data.js;
  • You can add new dependencies;
  • You can style the application.

Important

  • An automatic process will check your solution -- please follow the requirements as close as possible. Only submissions that pass the tests will be considered;
  • We are not going to answer any questions about this challenge, so that all submissions can be fairly compared.

How to deliver your challenge

  • This challenge should only be completed via a GitHub Classroom assignment.
  • Is your solution ready to be reviewed? So respond to this form.
  • Our team will review your submission and provide feedback via PR or email in 15 work days.

About


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:CSS 0.0%