mern-backend-quickstart
Version:
CLI tool to quickly generate a MERN backend boilerplate with optional auth middleware.
73 lines (38 loc) • 1.69 kB
Markdown
<h1>MERN Backend Quickstart</h1>
<br/>
<p id="description">MERN Backend Quickstart A professional production-ready MERN backend boilerplate generator to help developers quickly scaffold backend projects using MongoDB Express and optional JWT authentication. Customize your setup through the CLI to generate only the files you need.</p>
🚀Usage
Run the following command:
create-mern-backend
You will be asked:
? Do you want authentication middleware? (Y/n)
? Do you want sample files? (Y/n)
<br/>
<h2>Features</h2>
* 🔗 MongoDB Connection using Mongoose
* 🗂 Clean Scalable Project Structure
* 🛠Optional Sample Files (Models Controllers Routes)
* 📄 Auto-generated .env file
<br/>
<h2>Project Screenshot</h2>
<br/>
[](https://postimg.cc/8786V2th)
<h2>Installation Steps:</h2>
<br/>
<p>1. Install globally (optional)</p>
npm install -g mern-backend-quickstart
<br/>
<p>2. Install Locally in a Project</p>
npm install mern-backend-quickstart
<br/>
<p>3. Run CLI via NPX</p>
npx create-mern-backend
<br/>
<h2>Folder Structure</h2>
<br/>
[](https://postimg.cc/rKRVMzPH)
<h2>Author</h2>
[](https://github.com/Tiwarishraddha)
<br/>
<h2>Feedback</h2>
If you have any feedback, please reach out to us at tiwaari111@gmail.com