项目作者: kysley

项目描述 :
Server and Client using GraphQL, postgres, React/Apollo
高级语言: JavaScript
项目地址: git://github.com/kysley/graphql-postgres-react-prototype.git
创建时间: 2018-04-11T15:38:40Z
项目社区:https://github.com/kysley/graphql-postgres-react-prototype

开源协议:

下载


graphql-postgres-react-prototype

Server and Client using GraphQL, postgres, React/Apollo

Usage

Create a new .env file at the project root containing:

HOST=localhost

PORT=3001

DB=”databasename”

DBHOST=localhost

DBPORT=5432

DBUSER=dbuser

DBPASSWORD=dbpass

Commands (yarn | npm)

  1. start => run server without nodemon
  2. dev => run server with nodemon
  3. db:create => creates database
  4. db:migrate => migrates data

TODO

  • Seperation of concerns
  • Config files
  • Creation of front-end (may require re-basing)
  • Better docs?