Skip to content

cansucreates/social-app-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

The MongoDB Atlas Data API in the Jamstack: The Serverless Dream!

Live Demo: https://socialbutterfly.vercel.app/

Introduction

Do you love the Jamstack? Do you love to create all of the boilerplate code required to connect to databases in their Jamstack applications?

This workshop will show you how you can connect to MongoDB Atlas in your Jamstack application with minimal effort and without using any drivers.

What we'll cover in this workshop

  • ~15 minutes of slides explaining Jamstack, serverless, and how the MongoDB Atlas Data API fits into these.
  • Hands-on lesson resulting in you building a fully functional, deployed application.

Prerequisites

In order to successfully complete the tasks in this workshop, you should have:

  • Familiarity with JavaScript
  • Accounts (All Free):
  • Git and GitHub knowledge (fork, clone, branch, commit, etc.)
  • Node.js installed on your computer (14.x / 16.x)
  • Code Editor (VS Code recommended)

That's it 🙌 (no prior knowledge of MongoDB is required)

Slides

Hands-on lesson

This repo is broken up into several branches. Each branch contains a set of lesson and builds upon the previous lesson.

Throughout the workshop, you'll be working on the following lessons:

  1. Lesson 1 - Fork & Clone Repo
  2. Lesson 2 - Create Cluster & Enable Data API
  3. Lesson 3 - Load Sample Data
  4. Lesson 4 - Test Data API Endpoint
  5. Lesson 5 - Setup CRUD Endpoints
  6. Lesson 6 - Overview of Data API App
  7. Lesson 7 - Setup Custom User Authentication
  8. Lesson 8 - Add "Like" Functionality
  9. Lesson 9 - Create a Search Index and Implement Search Functionality
  10. Lesson 10 - Deploy to Vercel!

Let's get started with the first lesson ->