/meanConcepts

Primary LanguageJavaScript

MEAN Concepts:


1. File app.js:
Code for know sequence of calling between setImmediate, setTimeout and process.nextTick functions. This code shows the actual sequence in two mode. A. Simple mode. B. Api calling mode.


2. File nodejs-tcp-example-server.js & nodejs-tcp-example-client.js:
Code for listen a ip, creating server, send data by tcp mechanism from client, get data packet on server and store that data in a local file by fs module and stored in MySql DB by mysql module.