Coder Social home page Coder Social logo

bec's Introduction

better e-mail client

Why should i make this?

People already have so many message app, but email still not dead. Espacially in the company, we send and receive so many emails. But most of email client have bad UI, just show the list what user receive and send. It is not comfortable and easy, also not cool at all. So, "bec" is here.

So?

This is plan.
example
Yeah, this is chat like UI. User can send email by simple typing and clicking. Also can see all emails with chat UI.
This is just example image and can be changed any time. But i wiil try not to change goal for usability, simplicity and scalability.

Notice

This project is public now, but can be changed to private.

What i first try in this project

  1. Complicate websocket event
  2. Using Imap(email base product)
  3. Web notification

First, Websocket is built with socket.io. It was pretty simpler than i thought. Actually i misunderstood how to use socket.io. I thought it can be only used like client send event -> server recieve event -> send back to client scenario, but it was not. send event anywhere -> recieve event anywhere -> send data to anywhere need to recieve is right. So i can now easily control if new mail come in to mailbox.

Second, IMAP was pretty difficult. Cause i have never made the mail related wabapp. But now, i used to it, and know how IMAP do it's work. At first, i made server to request mails everytime user change the channel, but i realized it is dumbest way to get mails. Connecting to mail server is not fast, actually it is pretty slow. So now, server only request mails when user sign-in and if websocket send event(new mails), server request only new mails, not all.

Third, Ok, done. I'm using Google's Firebase Cloud Messaging(FCM). When new mail detected in the server, send socket event and push notification. Firebase is interesting also easy to set and control. I finally understood why people like Firebase. There're even more tools that i can use for PWA. Yeah, PWA, i find this word while making this webapp. Progressive Web App(PWA), i don't fully understand about this yet, but i want to try something "Progressive"!

Progress

2018-10-17

Latest

End

I first start this project as some sample, and it looks ok to show someone. There's still missing functions but, i need to start another project. So, i will let this project open. Maybe i can restart this, but now, i don't have time to do.

bec's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

lachlun

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.