Skip to content

Repository files navigation

nodegresql

Sample Node.js, PostgreSQL and Socket.io project

Installation

Default code will talk to PostgreSQL database named "playful". In psql:

create database playful;
\c playful

Populate "playful" with server_populate.js.

node server_populate.js

Install dependencies:

$ npm install socket.io
$ npm install pg

Yippee! You should now be able to run your server.

$ node server.js

enjoy!

About

Sample Node.js, PostgreSQL and Socket.io project

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages