Skip to content

rjchatfield/nodegresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published