Skip to content

Next.js + Express + MongoDB Template #89

@gunjanghate

Description

@gunjanghate

Title: ✨ Feature Request: Add Next.js + Express + MongoDB Starter Template

Description:

While Next.js has built-in API routes, many developers prefer to keep the backend separate using Express.js. This allows more flexibility, clearer separation of concerns, and compatibility with existing Express middlewares.

I propose adding a Next.js + Express + MongoDB template.

✅ Scope of Work

  • Add a new stack option: Next.js + Express + MongoDB

  • Core setup:

    • Next.js (latest stable, App Router recommended)
    • Express.js backend (with REST API boilerplate)
    • MongoDB with Mongoose integration
    • TailwindCSS preconfigured
    • ESLint + Prettier configuration
  • Boilerplate examples:

    • Next.js frontend calling an Express backend endpoint
    • Sample MongoDB model + query in Express
    • Example components in Next.js frontend
  • Documentation update: Add this stack to README and setup instructions

🎯 Goal

Developers should be able to scaffold a Next.js frontend + Express backend + MongoDB database project with:

npx celtrix my-next-express-app

🟡 Why This Matters

  • Many projects need a dedicated backend for scalability
  • Express.js is widely adopted and works seamlessly with MongoDB
  • This setup bridges modern frontend (Next.js) with a flexible backend

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions