Skip to content

elnigerian/nextauthsample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NextAuth + ApolloGrapqhl Sample

Overview

In this example, we rely on the following libraries:

  • Next.js - the React framework for production.
  • NextAuth.js - a complete open source authentication solution for Next.js applications. It is designed from the ground up to support Next.js and Serverless.
  • Apollo is a GraphQL client that allows you to easily query the exact data you need from a GraphQL server.
  • Docker provides a simple and powerful developer experience, workflows and collaboration for creating applications.

In this simple example, we have the following folders -

  1. myauth-client (frontend): we integrate Apollo seamlessly with Next.js data fetching methods to fetch queries in the server and hydrate them in the browser. We leverage NextAuth for the authentication process.
  2. myauth-server (backend): we use ApolloGraphql server along with Postgres DB running in a Docker container

Getting Started

TBD

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published