Take existing node js code and convert to functions for easier reading

Have existing chat application code (800 lines) that is written in non modular - HARD to READ

You will reformat, place code in functions, add comments to make it EASIER to READ and offer recommendations for improvement.

This is sample of some of the code

[url removed, login to view](function (err, messages) {

if (err) {

// handle an error to inform client that this user handnt Messages

} else {

for (var k = 0, l = [url removed, login to view]; k < l; k++) {

if (messages[k].[url removed, login to view] == 0) {

// on supprime ce message

messages[k].remove(function (err) {



if (messages[k].notify_me == true) {

// recuperation des users ayant vu le message

var users_vus = messages[k].receivers;

for (var i = 0, le = [url removed, login to view]; i < le; i++) {

if (users_vus[i].vu == true) {

var message = {};

[url removed, login to view] = messages[k].id;

[url removed, login to view] = messages[k].titre;

[url removed, login to view] = messages[k].content;

[url removed, login to view] = users_vus[i].date;

[url removed, login to view] = {

'id': users_vus[i].id,

'email': users_vus[i].email,

'pseudo': users_vus[i].pseudo


[url removed, login to view](message); // adding notification

[url removed, login to view]('delete FROM message_receivers WHERE receivers_id=? AND message_id=?', [[url removed, login to view], [url removed, login to view]], function (err, rows) {







receipts = [url removed, login to view](receipts, ['date'], ['desc']); // trier les messages reçu orderby desc Date

[url removed, login to view] = receipts;

var favoris = [];

[url removed, login to view](function (err, userfavoris) {

for (var k = 0, lf = [url removed, login to view]; k < lf; k++) {

var fav = {};

[url removed, login to view] = userfavoris[k].id;

[url removed, login to view] = userfavoris[k].email;

[url removed, login to view] = userfavoris[k].pseudo;

[url removed, login to view](fav);


[url removed, login to view] = favoris;

[url removed, login to view]('logged', responseLogin);




} else {

[url removed, login to view]('access-denied', {code: 403});






Evner: node.js

Se mere: software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, convert code mac, vehicle plate reading source code, convert code project, convert code dll code, pdf html convert code, convert code vbnet 2008, php convert code

Om arbejdsgiveren:
( 65 bedømmelser ) Nashville, United States

Projekt ID: #13144305

Tildelt til:


Hello, I am format the code to a good readable format and I will make necessary comments where ever required. Regards, Samiran

$70 USD in 3 dage
(4 bedømmelser)

16 freelancere byder i gennemsnit $184 på dette job

$368 USD in 3 dage
(78 bedømmelser)

Hello, I am Sr. web developer have strong debugging and coding skills. I am full stack developer with good knowledge of Java, JavaScript, MySQL, MongoDB, NodeJS, ExpressJS, AngularJS, JQuery, HTML, Bootstrap, etc. Flere

$400 USD in 10 dage
(45 bedømmelser)
$147 USD in 3 dage
(6 bedømmelser)

Hi, I am Shafayat, I am an M.E.A.N. stack developer. I believe I am one of the best candidates for this job. If you have a minute I would request you to send me a message so we can discuss further specifications :) Flere

$444 USD in 10 dage
(6 bedømmelser)

Hi, Happy To Help.I will be able to complete the task in a couple of days. I understand what you [login to view URL] can discuss the details further before i start. Thanks

$150 USD in 2 dage
(2 bedømmelser)

Hi there I am a node programmer. I can take your node js code and format it to the way it is easily readable and manageable. It is good if you could share the code in advance for our perusal. Looking forward to hear Flere

$189 USD in 3 dage
(5 bedømmelser)
$157 USD in 2 dage
(3 bedømmelser)

Hi, We are a team of experienced developers very well versed in Python(Tkinter, wxpython, Kivy,PyQT, OpenCV, pygame etc.),Java core, Advanced Java, Node.js, [login to view URL], Angular.js, MongoDB, Mongoose, Android and Ion Flere

$150 USD in 20 dage
(4 bedømmelser)
$200 USD in 3 dage
(1 bedømmelse)

Hi, I have more than 4 experience in web development and more than 3 years in NodeJs technology. I done more than 8 project as Full stack developer. I have very good understanding in NodeJs technology.

$155 USD in 3 dage
(1 bedømmelse)

I will give you the proper code you need in about 2 days time. I will need access to the whole code.

$50 USD in 3 dage
(0 bedømmelser)

Hello, I am good at Node JS, Express JS, javascript. Please let me get the source to rebuild. If you have any question, please let me know. Thanks, Best, Yuan.

$155 USD in 3 dage
(0 bedømmelser)

A proposal has not yet been provided

$55 USD in 3 dage
(0 bedømmelser)
$111 USD in 5 dage
(0 bedømmelser)

• 4 years of expertise in complex, scalable and high performance web application development. • Strong expertise in Web Application development using java script with OOPs, Node.js, Express Framework, MongoDB, Oracle Flere

$143 USD in 3 dage
(0 bedømmelser)