Amazon AWS Node.js WebSocket

With the Amazon AWS free tier, how do I deploy a simple Node.js WebSocket chat server that uses ws and pg modules?

+4
source share
1 answer

. , Postgres, Node.js, , EC2, - : http://aws.amazon.com/free/

EB , , EB node , .

, - , npm install. , --save,

npm install pg

npm install --save pg

package.json. EB dev ops ( npm install). , npm install .

, , . , node_modules - .

+4

Source: https://habr.com/ru/post/1531919/


All Articles