| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Sample Node.js, PostgreSQL and Socket.io project
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
| Back | FazBrowse Home | New Git URL |