Giter Site home page Giter Site logo

sent's Introduction

sent

sent is a fun and easy way to send files to anyone on your local area network.

installation

Once in the sent directory, type these commands into your Terminal

npm install
npm start
npm run electron

Enjoy!

sent's People

Contributors

louis-ver avatar simon-dube avatar

Stargazers

 avatar

Watchers

 avatar  avatar

sent's Issues

Action Creators should contain "business logic"

We should consider including the business logic directly inside the Action Creators, as shown in the Redux Docs:

function addTodoWithoutCheck(text) {
  return {
    type: 'ADD_TODO',
    text
  }
}

export function addTodo(text) {
  // This form is allowed by Redux Thunk middleware
  // described below in “Async Action Creators” section.
  return function (dispatch, getState) {
    if (getState().todos.length === 3) {
      // Exit early
      return
    }

    dispatch(addTodoWithoutCheck(text))
  }
}

See link for more information

This requires the use of "Middleware" such as Thunk, but could be interesting in making Action calls less cluttered in the application code. Thoughts?

To Do List - 05/15/17

  • Propose Interface redesign (Louis)
  • Code reducer case for each action type (how an action affects state). File is sent.js
    • PING
    • JOIN
    • LEAVE
    • ASK
    • ACCEPT
    • REFUSE
    • SEND
  • Services containing the application logic (server-side)
    • PING
    • JOIN
    • LEAVE
    • ASK
    • ACCEPT
    • REFUSE
    • SEND
  • Write React Components
    • User
    • DropZone
    • Notifications
    • Search (v2.0?)
    • Send Button
    • File Request Modal Popup
    • Settings
  • Code Message sending, receiving for both UDP and TCP servers
    • JOIN (UDP)
    • PING (UDP)
    • LEAVE (UDP)
    • ASK (TCP)
    • ACCEPT (TCP)
    • REFUSE (TCP)
    • SEND (TCP)

Feel free to add things that I have missed. This is a first draft and the list is expected to grow substantially!

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.