Code Monkey home page Code Monkey logo

remo-tables's Introduction

remo-coding-challenge-1

  • Clone this repo
  • Run npm install
  • If you are planning to use firebase, create a firebase project and add your config in src/services/firebase
  • Sample express server is added within this repo. Run npm run start-server to start the server in port 8000.
  • This server contains sample get and post request apis and will be accessed in Login page from browser as an example (Component: Auth.tsx)
  • You are free to use either server and/or firebase for state management
  • Run npm run start to start the react web server. This will open the landing page with login button

Requirements

  • Use google login/email login to authenticate user

  • This app has 2 routes (/ and /theater)

  • Convert the route /theater as authenticated i.e. user can go into this page only if he/she is logged in

  • Theater page

    • This page will have a conference map with tables as below Map
    • Once user is authenticated, users will be redirected into this theater page
    • Create table DOM elements by accessing tables from the TableConfig. first-table is added as example. 19 tables are present in the configuration
    • Users can go into any table and their avatars will be shown as below. Map with user avatars
    • Assign a table to the user when they land on this page
      • Assignment logic
        • Loom video: https://www.loom.com/share/6db9b60fb8f7433191b812ed42a36496
        • First user will go into first table, second user will be paired with first user in first table
        • third user will go into second table and fourth will be paired with third user in second table
        • once all the tables have 2 people, next incoming user will go into first table and then second and so on
        • Once all the tables have 3 users, next incoming user will go in first table and then second and so on
        • Users can switch table at any point of time
    • User should be able to switch tables by double clicking on the table
    • If user refreshes the browser at any point of time, they should land on same table
    • At any point of time, one user can be in only one room
    • Max allowed in a table should be configurable ranging from 3 - 6
    • When a table is full and new user tries to enter, show error notification
    • Create a button in the theater page. On clicking this button, highlight the currently logged in user avatar with an animation
  • Functionality testing (Bonus)

    • How to test this feature in mass scale?
    • This conference map can have 100 people max. How as a developer can you test this with max capacity?
    • You can explain this in loom video, if you dont have time to implement.

Deliverables

  • Zip file containing the codebase (except node_modules)
  • Create a loom video with:
    • demo of the application
    • Challenges you have faced and how you solved it
    • How can you improve your code
    • Comments on this test

remo-tables's People

Contributors

adrianponce89 avatar russellremo avatar saravremo avatar

Watchers

 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.