Learn To

Build an API With Next.js API Routes, Apollo Server, MongoDB, and Mongoose

Learn to build a GraphQL API using Apollo Server and MongoDB - all hosted via Next.js.

Last Updated: Apr 11th, 2022

Welcome! In this class we're going to learn how to build an API to support a future mobile app.

Technology

Throughout this class we'll learn to leverage:

  • Next.js - Host our API via API Routes
  • MongoDB - Database to store our data
  • Mongoose - Schema management for MongoDB
  • Apollo Server - Manage our GraphQL API

Assumptions

You'll want to be familiar with what each of those terms above are. You'll also need an understanding basic JavaScript.

Let's get to it!

I love the way the project is presented, steadily building up and adding features as you go as the different concepts are explained. Really well done course.

Alejandro M.

What's Inside?

This course will help you become more of a full-stack developer by exposing you to creating an API via NextJS and storing data in a MongoDB databse.

It covers topics like:

  • Configure MongoDB & Mongoose ORM
  • Access MongoDB from a NextJS API Route
  • Mutating data via API Routes
  • Securely store user data in MongoDB
  • Setup Graphql resolvers that require authentication
  • Managing an authentication system with Graphql

Module 1

Lessons

Great material straight to the point and clearly explained

Tapiwa M.

Extended Learning

Full Library Access

React Native School

$15/ month
  • Instant access to this entire course

  • Access to all of our React Native courses

  • Premium support

  • Source code for dozens of React Native apps

  • Private Slack community

Building an API With Next.js API Routes, Apollo Server, MongoDB, and Mongoose

$30
  • Instant access

  • Complete source code

  • Lifetime access to this course

It was really fantastic course! Thank you for recording this. It is highly recommended for beginners

Saeed A.