Coder Social home page Coder Social logo

alexloof / next-graphql-blog Goto Github PK

View Code? Open in Web Editor NEW
161.0 161.0 29.0 1.81 MB

๐Ÿ–Š A Blog including a server and a client. Server is built with Node, Express & a customized GraphQL-yoga server. Client is built with React, Next js & Apollo client.

Home Page: https://next-graphql.now.sh

License: MIT License

JavaScript 67.94% CSS 32.06%
apollo apollo-client express graphql mongodb mongoose nextjs react

next-graphql-blog's People

Contributors

alexloof avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

next-graphql-blog's Issues

.env file not included

nice work here ,

Please there seems to not be an env example in either the server or client folder

thanks

Issue with IE

Hi Alex,

First of all just wanted to say thank you for putting this repository together! I replicated your implementation for my own app (particularly around the way you do authentication and your Apollo setup) and I have come across a bug.

In IE11 the app will not work with the following error in production:

Object doesn't support property or method 'assign'

This would suggest to me that perhaps babel is not transpiling the above method? I encountered a similar issue with my application in production, my was related to a Symbol method (Symbol.for) that isn't supported in IE11 so not sure where along the line it might not be transpiling this?

Thought it would be worth mentioning here to see if you or anyone else had come across the issue as IE11 still has enough usage to be converned about issues like this.

Thanks

This is awesome

Did you learn this off any tutorials that you can recommend?

Why use express in client folder

Hi, i'm using express and apollo server to build server side, react for client but i switch to nextjs for seo frienly. In your project, i dont understand why use express in client folder. Can we use it in server folder and seperate with client (for nextjs and client dependency)

TypeError: Cannot read property 'posts' of undefined

hello,
i get this error when load localhost:3000

screencapture-localhost-3000-2019-07-09-12_38_08
what is the problem? bellow is my .env config:

MONGO_URL=mongodb://127.0.0.1:27017/next-graphql
AUTH_SECRET=as
SESSION_SECRET=ss
PORT=4000
CLIENT_URL_DEV=http://127.0.0.1:3000
CLIENT_URL_PROD=https://next-graphql.now.sh
GOOGLE_CLIENT_ID=gcid
GOOGLE_SECRET_ID=gsid
GA_TRACKING_ID=gtid
ROOT_URL_DEV=http://127.0.0.1:4000
ROOT_URL_PROD=https://next-graphql-api.now.sh
CLOUDINARY_PRESET=vhvuj1cw
CLOUDINARY_KEY=233327915763333
CLOUDINARY_NAME=teseh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.