All Projects β†’ atherosai β†’ Next React Graphql Apollo Hooks

atherosai / Next React Graphql Apollo Hooks

Licence: mit
React, Apollo, Next.js, GraphQL, Node.js, TypeScript high performance boilerplate with React hooks GraphQL implementation and automatic static type generation

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Next React Graphql Apollo Hooks

Next Graphql Blog
πŸ–Š 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.
Stars: ✭ 152 (-18.28%)
Mutual labels:  graphql, apollo, express, nextjs
Hackernews React Graphql
Hacker News clone rewritten with universal JavaScript, using React and GraphQL.
Stars: ✭ 4,242 (+2180.65%)
Mutual labels:  graphql, apollo, express, nextjs
Pizzaql
πŸ• Modern OSS Order Management System for Pizza Restaurants
Stars: ✭ 631 (+239.25%)
Mutual labels:  graphql, apollo, nextjs
Crypto Grommet
Crypto and equities app
Stars: ✭ 39 (-79.03%)
Mutual labels:  graphql, apollo, nextjs
Erxes Api
API for erxes
Stars: ✭ 57 (-69.35%)
Mutual labels:  graphql, apollo, express
Next Apollo Auth
Authentication Boilerplate with Next.js and Apollo GraphQL
Stars: ✭ 159 (-14.52%)
Mutual labels:  graphql, apollo, nextjs
Example Storefront
Example Storefront is Reaction Commerce’s headless ecommerce storefront - Next.js, GraphQL, React. Built using Apollo Client and the commerce-focused React UI components provided in the Storefront Component Library (reactioncommerce/reaction-component-library). It connects with Reaction backend with the GraphQL API.
Stars: ✭ 471 (+153.23%)
Mutual labels:  graphql, apollo, nextjs
Graphql Upload
Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
Stars: ✭ 1,071 (+475.81%)
Mutual labels:  graphql, apollo, express
Apollo Upload Examples
A full stack demo of file uploads via GraphQL mutations using Apollo Server and apollo-upload-client.
Stars: ✭ 358 (+92.47%)
Mutual labels:  graphql, apollo, nextjs
React Hipstaplate
A ReactJS full-stack boilerplate based on typescript with ssr, custom apollo-server and huge stack of modern utilities which will help you to start your own project
Stars: ✭ 74 (-60.22%)
Mutual labels:  graphql, apollo, express
Apollo Server Vercel
⚫ Production-ready Node.js GraphQL server for Vercel Serverless Functions
Stars: ✭ 69 (-62.9%)
Mutual labels:  graphql, apollo, nextjs
Ran
⚑ RAN! React . GraphQL . Next.js Toolkit ⚑ - SEO-Ready, Production-Ready, SSR, Hot-Reload, CSS-in-JS, Caching, CLI commands and more...
Stars: ✭ 2,128 (+1044.09%)
Mutual labels:  graphql, apollo, nextjs
Next Apollo Example
Next & Apollo Example
Stars: ✭ 413 (+122.04%)
Mutual labels:  graphql, apollo, nextjs
Brian Lovin Next
My personal site
Stars: ✭ 522 (+180.65%)
Mutual labels:  graphql, apollo, nextjs
Graphql Ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
Stars: ✭ 398 (+113.98%)
Mutual labels:  graphql, apollo, express
Graphql Apq
🎯 Automatic persisted queries (APQ) for any GraphQL server.
Stars: ✭ 43 (-76.88%)
Mutual labels:  graphql, apollo, express
Babel Plugin Import Graphql
Enables import syntax for .graphql and .gql files
Stars: ✭ 284 (+52.69%)
Mutual labels:  graphql, apollo, nextjs
Woo Next
πŸš€ React WooCommerce theme, built with Next JS, Webpack, Babel, Node, Express, using GraphQL and Apollo Client
Stars: ✭ 342 (+83.87%)
Mutual labels:  graphql, express, nextjs
Next React Graphql Apollo boostrap
React + GraphQL + Next.js project architecture that I play with right now
Stars: ✭ 59 (-68.28%)
Mutual labels:  graphql, apollo, nextjs
Boilerplate Vue Apollo Graphql Mongodb
Start your magical stack journey!
Stars: ✭ 85 (-54.3%)
Mutual labels:  graphql, apollo, express

High performance Next + React + GraphQL starter kit

The purpose of this starter kit is not to be complete solution, but introduction for creating high performance websites with Next.js, React and GraphQL. We use this repository for new projects at Atheros Intelligence and as the repository for our articles at GraphQL Mastery

  • Clone the repository with git clone [email protected]:atherosai/next-react-graphql-apollo-hooks.git
  • To preserve secure dependencies in package-lock.json use npm ci to install packages

Node.js version

Even though that the starter kit should work with older Node versions, I would suggest to use latest Node LTS version. In package.json. We have set requirements as follows:

 "engines": {
    "node": ">=10.0.0",
    "npm": ">6"
  },

Technologies & main features

  • Next.js
  • React
  • GraphQL (Apollo server)
  • Apollo client
  • React Apollo Hooks
  • Node.js
  • TypeScript
  • GraphQL Code Generator
  • Jest

Production usage

In order to achieve the best performance you should have enabled http/2 and also enable compression in your reverse proxy (nginx). Up to date Node.js server is also very benefitial.

Environment configuration

The solution for environment variables is built using dotenv library and two environment variables. Well known NODE_ENV variable can be set as development or production and our CUSTOM_ENV, which defines the environment. This can be your staging, production, local environment or even your build server. These two variables define the name of .env file in /secrets folder that will be used. If we would like to for example define the config for our staging environment we would create the file called /secrets/production-staging.env and place all the environment variables there. The example for such a file can be for example the following that we can use for development

NODE_ENV=development
CUSTOM_ENV=local
PORT=3000
API_URL=http://localhost:3000/graphql
HOST=http://localhost:3000

Security and audit

You can run security audit on dependencies with. Be sure that you use package-lock.json in our repository.

npm audit

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].