Skip to content

Wizyma/medium-graphql

Repository files navigation

medium-graphql

Build Status codecov Known Vulnerabilities npm version Greenkeeper badge

medium api using graphql

use npm install medium-graphql to install the package

this is a middleware that should be used with your server

express example :

const express = require('express')
const app = express()
const mediumServer = require('medium-graphql').default

app.use('/graphql', mediumServer) // you can use whatever path you want for the middleware

app.listen(3000)

For now only medium posts are available, i plan to implement the user search too

made with 💓