Simple examples with NodeJS and different NPM packages.
It's maybe helpful when you want to start or work with NodeJS.
NodeJS Homepage
io.js merged with the NodeJS project again
Ayo.js newest fork
You must have git, node and npm installed.
There are other dependencies like MongoDB, Redis and so on.
Depending on your environment you need to install them or extend the docker-compose file.
Clone the nodejs-stuff repository.
$ git clone [email protected]:DBProductions/nodejs-stuff.git
$ cd nodejs-stuff
Install all the dependencies or pick the ones you want to use from the package.json file.
$ npm install
The docker-compose file includes several third party software like RabbitMQ, NATS, Kafka, Redis, MongoDB, MySQL and Neo4j.
$ docker-compose up redis
$ docker-compose up mongodb redis
Have a look at package.json
file to see the npm scripts.
$ npm i -g npm-ls-scripts
$ ls-scripts
database
mongodb
mongoose
mysql
neo4j
redis
filesystem
messaging
kafka
nats
rabbitmq
amqp
amqp-connection-manager
amqplib
bunnybus
jackrabbit
node-amqp
rabbit.js
network
http
request
webserver
net
udp
realtime
socket.io
sockjs
webframeworks
connect
express
fastify
koa
Star this repo if you found it useful. Use the github issue tracker to give feedback on this repo.