jacobhausler / gestalt-list

Re-do of the gestaltCLP backend from gestalt's blog-example
1 stars 0 forks source link

Gestalt List

Build Status

A craigslist like GraphQL API built with Gestalt

Checkout the frontend Apollo List

Install

Start Postgres

From a blank directory:

git clone git@github.com:jacobhausler/gestalt-list.git .
npm install
createdb gestalt-list
npm run migrate

Development

npm run dev

API and graphiql are both served from localhost:8000/graphql.

Testing

All files in src named test.js or ending with .test.js are aggregated and run. Tests should be colocated with their source files.

You will need to familiarize yourself with mocha, chai, sinon, sinon-chai, and gestalt.

Single run

npm run test

Watch

npm run test:watch

Deployment

npm run deploy