Best Tech Stack for Next.js LMS with Blog, Courses, and PayPal Integration

4 repliesLast updated: Nov 29, 2025

Hello
I have to build an LMS(to sell online courses) website. I would like to use
Next.js to build the frontend.I would like to build these features
1. My goal is to use content marketing and write blog articles to generate traffic -- Blog Functionality
2. My goal is to sell the premium courses with PayPal
3. My goal is to must-have free courses on my website

I need tech advice on what tech stack should I use?
1. Should I use CMS or simple plain Markdown static blog
2. Should I use serverless architecture
3. Where to host course videos (Amazon, Vimeo or any other option
4. Where to host my website like vercel, netlify
AI Update

Based on your LMS requirements with Next.js, blog content, course sales, and free courses, here's my tech stack recommendation:

1. CMS vs Markdown

Use Sanity CMS instead of plain Markdown. Here's why it's perfect for your use case:

2. Serverless Architecture

Yes, absolutely use serverless - it's ideal for your LMS:

3. Video Hosting

Don't host videos in Sanity - use a dedicated video platform:

Implementation: Store video URLs (Vimeo embed links or Mux playback IDs) in your Sanity course schema. Sanity manages the course structure and metadata while specialized platforms handle video delivery.

4. Hosting Platform

Vercel (Recommended):

Netlify: Also solid, but Vercel has tighter Next.js integration

Architecture Overview

Getting Started

This stack gives you a modern, scalable LMS that's cost-effective to start and can grow with your business. The serverless approach means you only pay for what you use, and Sanity's generous free tier covers most small to medium projects.

Show original thread
4 replies

Was this answer helpful?

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Related contributions