Socket
Socket
Sign inDemoInstall

simple-graphql

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-graphql

The simple way to build GraphQL style API with MySQL/PostreSQL


Version published
Weekly downloads
313
increased by2508.33%
Maintainers
1
Weekly downloads
 
Created
Source

simple-graphql

JavaScript Style Guide

The simple way to build GraphQL style API with DataBase support.

Install

npm install graphql graphql-relay simple-graphql --save

Demo

Check out the project code (https://github.com/logerzhu/simple-graphql).

cd simple-graphql
npm install # install dependencies in the main folder
npm run demo # run the demo and open your browser: http://localhost:9413/graphql

Usage

This library support FlowType (a static typechecker for JavaScript), which can help to check you model defintion.

Define the model

TODO

Supported types

  • Number
  • String
  • Boolean
  • Date
  • [Number]
  • [String]
  • [Boolean]
  • [Date]
  • ObjectId with ref (reference to other document, populate) TODO

Supported queries / mutations

TODO

Options

TODO

Test

TODO

Contributing

TODO

License

MIT

Keywords

FAQs

Package last updated on 05 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc