Skip to content

tcerda95/Serverless-Graphql-Next.js-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Graphql Next.js Boilerplate

This boilerplate presents an Apollo Lambda Graphql API and a Next.js server for a simple blogging app.

More information may be found in the directories api and web.

API

It includes:

  • GraphQL Apollo Server Lambda
  • Mongoose "persisting" connections
  • Authentication via GraphQL directives and injected via context
  • Environment variables setup
  • Ready for AWS Lambda deployment

Web

It includes:

  • Next.js web server
  • Authentication HOCs and user injected via context
  • Authentication Bearer token is sent on each request
  • CSS-in-JS with emotion
  • Environment variables setup
  • Ready for Zeit now 2.0 serverless deployment

About

Opinionated boilerplate supported by Lambda Apollo Server, Mongoose, Next.js, React Apollo and emotion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors