believer/movies-graphql-postgres

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Movies

[![Build Status](https://travis-ci.org/believer/movies-graphql-postgres.svg?branch=master)](https://travis-ci.org/believer/movies-graphql-postgres)
[![Code Climate](https://codeclimate.com/github/believer/movies-graphql-postgres/badges/gpa.svg)](https://codeclimate.com/github/believer/movies-graphql-postgres)
[![Test Coverage](https://codeclimate.com/github/believer/movies-graphql-postgres/badges/coverage.svg)](https://codeclimate.com/github/believer/movies-graphql-postgres/coverage)

## Install
```
$ git clone https://github.com/believer/movies-graphql-postgres.git
$ cd movies-graphql-postgres
$ npm install
```

## Start
```
$ docker-compose up
$ npm start
```

## Commands

|`npm run <script>`|Description|
|------------------|-----------|
|`start`|Starts the server at `localhost:3000`|
|`test`|Run Jest tests|
|`coverage`|Run Jest tests and generate coverage|
|`migrate`|Run migrations|