ydev-mern
v1.0.3
Published
Full-stack MERN developer toolkit featuring modern React frontend and Express backend.
Maintainers
Readme
ydev-mern
A modern, production-ready full-stack MERN (MongoDB, Express, React, Node.js) development kit featuring a sleek Vite + React frontend and an Express backend.
Quick Start
1. Install via npm
You can install ydev-mern directly into your project:
npm i ydev-mernThis installs both the frontend and backend directories into your node_modules/ydev-mern/.
2. Scaffold into your project (Recommended)
To unpack both frontend and backend directly into your project folder:
npx ydev-mernOr into a new folder:
npx ydev-mern my-mern-app
cd my-mern-appProject Structure
my-mern-app/
├── backend/
│ ├── src/
│ │ ├── Server.js # Express server entry
│ │ └── db.js # MongoDB connection utility
│ ├── .env.example # Environment variables template
│ └── package.json
└── frontend/
├── src/
│ ├── App.jsx # Modern React showcase & UI
│ ├── App.css
│ └── main.jsx
├── index.html
├── vite.config.js
└── package.jsonRunning the Application
Backend
cd backend
npm install
npm run devRuns Express on http://localhost:3000.
Frontend
cd frontend
npm install
npm run devRuns Vite dev server on http://localhost:5173.
License
MIT © yakshith.v
