Skip to content

kostyak76/nodejs-sample-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-sample-task

Sample task for nodejs, extjs, mongodb, elasticSearch.

Building and installing

Prepare the data for the database. Look into the config.json for the database name which will be used by an application. Connect to the database specified there with a mongo console, and get the mongodb/mongo-sample-data.js to store first books.

Then, carry on to building application. First, run

npm install

This will install the dependencies. Then,

node server.js

Which runs the server.

/****** Elastic Search ******/ install to project

npm install elasticsearch client

Download Elastic Search server

http://www.elasticsearch.org/download/

run elasticsearch server

node book-search.js

/********** END **********/

About

Sample task for NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%