https://github.com/karimsa/sous-chef
Smart refrigerator system for CSI2132.
https://github.com/karimsa/sous-chef
Last synced: 5 months ago
JSON representation
Smart refrigerator system for CSI2132.
- Host: GitHub
- URL: https://github.com/karimsa/sous-chef
- Owner: karimsa
- Created: 2017-03-24T02:39:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-03T19:10:17.000Z (about 9 years ago)
- Last Synced: 2025-03-11T21:03:58.352Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.65 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SousChef

Smart refrigerator system for CSI2132.
## Requirements
- node v7.x
- npm v4.x
- postgresql 9.6.x
### Setup
To install dependencies, run `npm install`.
### Config Files
`keys.json`: an array of "top secret" keys (used for signing cookies).
```json
[
"top secret"
]
```
`pg.json`: info for connecting to pg server.
```json
{
"user": "",
"database": "",
"password": "",
"host": "web0.site.uottawa.ca",
"port": 15432
}
```
## Scripts
- [Create script](lib/db/scripts/create.sql): creates database.
- [Drop script](lib/db/scripts/drop.sql): drops everything.
- [Sample script](lib/db/scripts/sample.sql): some sample data for demos.
- [Queries](lib/db/queries.js): all queries are saved here in variables.