1. # Windows (PowerShell)
    Get-Service MongoDB
    
    # macOS
    brew services list | grep mongodb
    
    # Either way — test against the default port:
    curl http://localhost:27017
    # connection accepted = port is open (a plain-HTTP response is expected and fine)
  2. MONGO_URI=mongodb://localhost:27017/saas-starter-kit
  3. backend
    pnpm dev
    # → INFO: MongoDB connected: localhost:27017/saas-starter-kit
    # → INFO: Server running in development mode on port 5000

  1. MONGO_URI=mongodb+srv://<atlas-user>:<atlas-password>@<cluster-host>/saas-starter-kit?retryWrites=true&w=majority

0/50%