https://github.com/benoitvallon/postgresql-and-node
Code sample based on web article example (PostgreSQL + Node)
https://github.com/benoitvallon/postgresql-and-node
Last synced: 6 months ago
JSON representation
Code sample based on web article example (PostgreSQL + Node)
- Host: GitHub
- URL: https://github.com/benoitvallon/postgresql-and-node
- Owner: benoitvallon
- Created: 2015-02-23T11:51:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-23T16:46:06.000Z (over 10 years ago)
- Last Synced: 2025-02-13T19:19:29.900Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# postgresql-and-node
Code sample based on a web article example (PostgreSQL + Node). Here is the original [blog post](http://mherman.org/blog/2015/02/12/postgresql-and-nodejs).
## Quick Start
1. Install dependencies: `npm install`
1. Start your Postgres server and create a database called "todo"
1. Create the database tables: `node server/models/database.js`
1. Start the server: `$ npm start`