Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.16 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.16 KB

Plants Database GraphQL API

Build status

Usage

Prequesites

This project needs following dependencies not listed in package.json

  • Node version 10.x
  • Docker
  • Docker-Compose
  • Prisma verison 1.8.3

Installing

Boot up the prisma database

cd database
docker-compose up -d
prisma deploy

start the GraphQL node server

npm install
npm start

Testing

To run the test suite simply run

npm test

Using

Two enpoints are live on http://localhost:8000

Endpoint Description
/graphql GET/POST requests go here
/playground Graphical interface for schema exploration
/subscriptions Making subscriptions (e.g. via websockets)

Built With

License

This project is licensed under the MIT License