Skip to content

DevanB/insta-preact-apollo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Instagram Clone with Preact + Apollo

Built with preact-cli, Apollo, Graphcool, and Tachyons.

This project is a continually evolving test of integrating Preact and Apollo.

Steps to run

git clone git@github.com:DevanB/insta-preact-apollo.git && cd insta-preact-apollo
npm i -g graphcool
graphcool init --schema insta.graphql
graphcool endpoints

Copy the Simple API endpoint and paste into createNetworkInterface uri:

// src/components/app.js

const networkInterface = createNetworkInterface({
  uri: 'SIMPLE_API_ENDPOINT_URI_GOES_HERE'
});
yarn install && yarn start

About

Instagram Clone with Preact โš›๏ธ + Apollo ๐Ÿš€

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published