UNPKG

create-mern-server

Version:

⚡ Instantly scaffold a production-ready MERN server using JavaScript or TypeScript.

15 lines (12 loc) 434 B
export const env = `# ------------------------------- # Application Environment Config # ------------------------------- # The port your Express server will run on PORT=1604 # MongoDB connection string # Replace 'your-mongodb-url' with your actual MongoDB URI MONGODB_URI=your-mongodb-url # The origin URL of your frontend app (for CORS) # Example: http://localhost:3000 or https://your-frontend.com CORS_ORIGIN=your-frontend-url `