Giter Club home page Giter Club logo

relaxtime's People

Contributors

max-levitskiy avatar

Watchers

 avatar  avatar

relaxtime's Issues

automatic creation of a new relax event

  1. Find free places for relax. Choose one with random.
  2. Get numbers of people for relax in choosed place.
  3. Find most unrelaxed people (time of last relaxation).
  4. Creation of event with people.

Websocket events information.

Client side:

  1. Subscribe to user events channel
  2. When get a new event, determine event type.
  3. Call event handler for found event type or default handler, if no handler for this type.

Server side:

  1. Create an event storage with lister for new events.
  2. Listener have to catch new events.
  3. Get all people from new event.
  4. Check, if all has an active channel to get message.
  5. If everybody has it, put event in channel.
  6. If somebody hasn't channel, call "can't-inform action".

Creation of the new relax event by user.

  1. Add button "Create relax". It have to be shown just then user has pending status.
  2. When user click on it, call backend request, which will check, that user still has pending status and lock this status.
  3. Show relax places and time, when they will be busy and free.
  4. When user select place and time, show recommended people for this relax, sorted by relevance*. Give opportunity to add people for forming right group. User can go alone, if place accept it.
  5. After click on "create" button, create new relax event. Send requests for users, who in group. User, who create a group goes in "accept" status automatically.
  • Now relevance - it's a time, when system will send this person to relax. Selected time - (last relax time + normal work period). Smaller on top.

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.