https://github.com/robertd/demo-app
https://github.com/robertd/demo-app
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robertd/demo-app
- Owner: robertd
- Created: 2016-10-24T13:05:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-24T18:52:36.000Z (over 9 years ago)
- Last Synced: 2025-03-22T06:01:57.262Z (over 1 year ago)
- Language: JavaScript
- Size: 6.46 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
* `npm install`
* `bower install`
## Requirements
* Postgres (through Docker)
* Create `dev` user and `dev` database
* Create `test` user and `test` database
## Migrations
Run `./node_modules/knex/bin/cli.js migrate:latest --env development --knexfile src/db/knexfile.js`
## Seed data
Run `./node_modules/knex/bin/cli.js seed:run --env development --knexfile src/db/knexfile.js`
## Running the app
* `npm start`
* `http://localhost:3000`
## Test - (depends on docker pg instance)
*`npm test`