create-nexus-stack
v1.0.0
Published
Bootstrap a production-ready React + Express full-stack app
Maintainers
Readme
create-nexus-stack 🚀
A CLI tool that bootstraps a complete, production-ready full-stack application structure with a premium, SAAS-level developer experience.
✨ Features
- Client: React + Vite + Tailwind CSS v4 + React Router
- Server: Node.js + Express + MongoDB + Mongoose
- Auth Flow: Built-in User Authentication (Login / Register) with JWT.
- Project Structure: Well-organized folders for controllers, routes, middleware, and React contexts.
📦 Usage
To create a new full-stack project, run:
npx create-nexus-stackThe CLI will prompt you for a project name and optionally install all dependencies automatically.
Post-Installation
1. Configure Environment Variables (Backend) Navigate to your backend directory and setup your variables:
cd my-nexus-app/server
cp .env.example .envMake sure to add your MongoDB connection string in .env.
2. Start Development Servers
Terminal 1 (Backend):
cd my-nexus-app/server
npm run devTerminal 2 (Frontend):
cd my-nexus-app/client
npm run dev📂 Generated Structure
The template scaffolds the following directory tree:
my-nexus-app/
├── client/
│ ├── src/
│ │ ├── components/
│ │ ├── contexts/
│ │ ├── layouts/
│ │ ├── pages/
│ │ └── services/
│ └── ...config files (Vite, Tailwind v4, ESLint)
└── server/
├── config/
├── controllers/
├── middleware/
├── models/
├── routes/
└── index.js