Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

annuhdo/medium-feed-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

medium-feed-graphql πŸš€

A GraphQL wrapper for a user's Medium feed. Hosted Deployment β–² GraphQL Playground

Features

  • Able to grab user and his or her latest posts.
  • Utilizes GraphQL with a single endpoint.
  • Data grabbed from Medium's RSS Feed.

Query

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
    }
  }
}

Installation

Initial setup

$ git clone https://github.com/annuhdo/medium-feed-graphql.git
$ cd medium-feed-graphql

$ yarn install

Start server locally

Server is going to be hosted on port 7778. This can be changed on server.js.

$ yarn start

πŸš€ Server is running on port: 7778

License

MIT -- I made this for my personal website but you may use this for whatever you would like! πŸ˜€

About

πŸš€ Medium user's feed exposed as GraphQL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published