This is a Hackernews clone site built with next.js implementing GraphQL APIs, for which Apollo Client is adopted in the frontend and Apollo Server in the backend server. We can successfully build a full functionality of GraphQL server with next.js, including queries, mutations, and subscriptions.

The real-time communication of subscriptions however was found not to function well once the package is deployed to Vercel, which is a serverless platform. Therefore real-time Firebase Cloud Firestore is used to substitute GraphQL subscriptions.

hackernews-nextjs-apollo-screenshot

iOS and Android mobile apps are also delivered. The apps are developed with React Native, anyone who is interested can test the development builds with iOS Simulator Build and Android Internal Distribution Build. If the build storage link has expired, please go to https://projects-jglchen.vercel.app/en/contact to request build files.

View the App

App GitHub

Docker: docker run -p 3000:3000 jglchen/hackernews-nextjs-apollo

iOS Simulator Build

Android Internal Distribution Build

React Native GitHub

back To Series Home