A GraphQL wrapper for a user's Medium feed. Hosted Deployment β²
- Able to grab
user
and his or her latestposts
. - Utilizes GraphQL with a single endpoint.
- Data grabbed from Medium's RSS Feed.
The main query Medium requires a username String!
argument.
query {
Medium(username: MEDIUM_USERNAME_STRING) {
user {
username
name
image
link
},
posts {
title
link
author
published
content
}
}
}
$ git clone https://github.com/annuhdo/medium-feed-graphql.git
$ cd medium-feed-graphql
$ yarn install
Server is going to be hosted on port 7778. This can be changed on server.js.
$ yarn start
π Server is running on port: 7778
MIT -- I made this for my personal website but you may use this for whatever you would like! π