Skip to content

Repository files navigation

HOW WORK MESSENGERS

Just a few words

Hello, in this repository I updated one interesting project. One day I was wondering how messengers work, maybe you are thinking about it too. So I started scouring github looking for a good implementation of this idea. And i found this.

But let's be honest, the way it looks and the way it works is not modern. So I wanted to play around with this project a bit and learn how to fix something old. We have to give credit to this project for a lot of work, though.

What I'm changing

The first thing that happened to this old project was timing. Mongoose is obsolete, and methods that worked in the controller don't work now. It's horrible to change them all, mostly problems with the connection methods. The solution to this problem was to change all connection methods to the new ones and update mongoose in node lib. The old project had v.4 mongoose and I upgraded to v8.

I don't like the way this "Facebook" design looks in the old project, and when I don't like something, I try to change it. The catalog of the old project had a lot of photos and avatars in it, but, I don't know why, the author doesn't use them. I changed the color, created new styles and added photos. I think new design looks horrible too, but importent thit i made it.

old design

new design

new design

I don't know where to place it, but let it be in the design. I removed the one block with the group chat. I think group chat is a good idea, but not in a standard messenger on the homepage. Anyway, I deleted it. I will revisit it in the future though.

What with conntroller

I didn't change anything in the controller)

HOW IT`S PUT TOGETHER

In general all is simple. We have AngularJS, he combineted all parts app, html Bootstrap, NodeJs express and MongoDB. Name for this stack MEAN (MongoDB, Express, Angular, Node).

This is most unsafe messenger in world. He dont have no one protocols encryptions. And sistem of login logout work without any checs. Even Spring Security work better. Whatever it is, it is there.

What it's for

I'm taking it for playing and learning, but this template could be a messenger for dnd for example. I added one DiseRoller controller and one block for an example.

old design

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages