create-express-minco
Version:
A modern Express.js project generator with TailwindCSS, EJS, ESModules, and JWT auth.
114 lines (77 loc) • 2.3 kB
Markdown
# 🚀 create-express-minco
> Scaffold a modern Express.js project in seconds with MVC, TailwindCSS, and EJS
### 📥 Install via NPX
```bash
npx create-express-minco express-app
```
**Create an Express.js project scaffold with modern conventions, MVC structure, ES6 support, and built-in JWT authentication (soon).**
Inspired by frameworks like **Laravel** and **CodeIgniter4**, this template merges backend and frontend into one clean, scalable folder.
## 📦 Features
- ✅ Built with [Express Generator](https://expressjs.com/en/starter/generator.html)
- ✅ Uses **ES6 module syntax** instead of CommonJS
- ✅ TailwindCSS for styling
- ✅ MVC-style folder structure
- ✅ Ready-to-use project structure
- ✅ Fully customizable
- ✅ Nodemon live reload server
- ✅ Perfect for REST APIs or fullstack hybrid apps
- ✅ Built-in **Login system** with **JWT authentication** _(soon)_
## 📁 Folder Structure
```
express-app/
├── bin/
├── config/
│ └── ...
├── controllers/
│ └── ...
├── middleware/
│ └── ...
├── models/
│ └── ...
├── public/
│ └── ...
├── routes/
│ └── ...
├── views/
│ └── ...
├── .env
├── app.js
└── package.json
```
## 🚀 Getting Started
### 📥 1. Create a new project
```bash
npx create-express-minco my-app
```
> This will create a `my-app/` folder with all the necessary files and dependencies.
### ▶️ 2. Run project
```bash
cd my-app
npm start
```
### 🔑 3. Login API (soon)
## 🛠️ Customization
- Add a route in routes/
- Add a new controller in controllers/
- Configure middleware or authentication in middleware/
- Edit the frontend page in views/ (using the default template engine from express-generator, such as Ejs)
## 📦 Requirements
- Node.js v18 or latest
- NPM or Yarn
## 📜 License
MIT © [haydar hilmy](https://github.com/haydar-hilmy)
## ❤️ Inspired by
- [Express Generator](https://expressjs.com/en/starter/generator.html)
- [Laravel](https://laravel.com)
- [CodeIgniter4](https://codeigniter.com)