An open API service indexing awesome lists of open source software.

https://github.com/hritik5102/node-js

Node is runtime environment of javascript and node-js is not programming language and not framework build on the v8 javascript engine.
https://github.com/hritik5102/node-js

express-js http javascript node-js node-module nodejs nodejs-server nodemon

Last synced: 8 months ago
JSON representation

Node is runtime environment of javascript and node-js is not programming language and not framework build on the v8 javascript engine.

Awesome Lists containing this project

README

          



Node-js


> ### what is node js ?

node is runtime enviroment of javascript and nodejs is not programming language and not framework build on the v8 javascript engine

> ### Working

node uses a single thread to execute multiple requests asynchronously supports concurrency via events and callbacks.

> ### why to use Node-js ?

* event driven , non blocking i/o model
* great for prototyping and agile development
* superfast and high scalable
* javascript everywhere
* cleaner and more consistent codebase
* large ecosystem of open source libs

> ### Best type of projects for Node-js

* RestApi and microprocess
* real-time services (chat, live updates)
* CRUD APPS - blogs, shopping carts, social network
* tool and utilities

> ### Basic view

1. install a 3rd package (frameworks, library, tools)
2. package get stored in node_modules
3. all dependencies are listed in package.json file
4. NPM scripts can be created to run certain to run certain task such as a run server

#### Install [Node.js](http://nodejs.org/) (4.0.0 or later)

1. Install dependencies
```sh
$ npm install
```
2. Generate a package.json
```sh
$ npm init
```
3. Install a package locally
```sh
$ npm install express
```
4. Install a package globally
```sh
$ npm install -g nodemon
```
5. To run a file
```sh
$ npm filename
```

> ### Node module system

1. Open system
2. File system
3. Events
4. Http