FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

rjchatfield/nodegresql: Sample Node.js, PostgreSQL and Socket.io project · GitHub

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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


Back | FazBrowse Home | New Git URL