8000 GitHub - idannn98/react-coding: A series of ReactJS coding challenges with a variety of difficulties.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A series of ReactJS coding challenges with a variety of difficulties.

Notifications You must be signed in to change notification settings

idannn98/react-coding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gankster coding challenge

Welcome to our coding challenge! Please read this file carefuly, as it contains all of the information you need.

screenshot-desktop

Mobile view:

screenshot-mobile

Starting conditions

The project starts with an error. Let's fix the error and get things rolling.

starting error

Todo 📖

  • Show the initial Botty message by default (can be found in common/constants)
  • Submit a message and render it to the list.
  • Use sockets to:
    • Send the user's message to Botty
    • Show a typing message when Botty is typing
    • Handle incoming Botty messages and display them
  • Scroll to the bottom of the messages list when sending/receiving a message

Most of the work needs to be done in the Messages components.

What's Already Been Done 🏁

  • Socket setup/configuration with the Botty server (botty.alexgurr.com)
  • All UX and UI, including for messages
  • All components, including a message and typing message component
  • A context for setting the latest message, which will change the preview in the left user list
  • Hooks for playing send/receive sounds

Reference:

Botty Socket Events

See the Botty server documentation for more information.

  • bot-typing: Received from Botty when they are typing in response to a user message.
  • bot-message: Received from Botty with a message payload in response to a user message.
  • user-message: Emitted by you/the client with a messsage payload

Message Classes

We've provided Message components and classes. Here's some information about the classes.

  • .message--last: The last message in a group
  • .message--typing: The message the user sees when the recipient is typing
  • .message--me: Denotes a user message

About

A series of ReactJS coding challenges with a variety of difficulties.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SCSS 95.1%
  • JavaScript 4.2%
  • Other 0.7%
0