create-vault

32.1.1 • Public • Published

🚀 Vault - Full Stack & Backend Starter CLI

🔹 Kickstart your development journey with Vault! This CLI tool lets you instantly set up a fully functional backend or full-stack application with just one command. No more manual configurations – just code! 🎯

Additionally, for the Full Stack option, you have:

React Vue Angular TailwindCSS JavaScript MongoDB Express Node.js

Features

Choose between Full Stack (MERN) or Backend-only
Pre-configured Express.js Backend
MongoDB Integration with Mongoose
Vite + React + Tanstack Router (Frontend)
Angularjs + TailwindCSS (Frontend)
Vuejs + TailwindCSS (Frontend)
Optional Frontend Frameworks: React, Vue, or Angular
.env File for Easy Configuration
Nodemon for Seamless Development
Pre-structured Folder System
Automatic Dependency Installation


🚀 Installation & Usage

1. First-Time Setup

To get started with the VaultBase template, follow these steps:

  1. Install the template globally:

    npm install -g create-vault
  2. Initialize the project:

    create-vault

2. Subsequent Use

For future projects, you can quickly set up a new VaultBase project by running:

npx create-vault@latest

This command will prompt you to select:
🕐 Full Stack (MERN) – Includes both frontend and backend.
🕐 Backend Only – Generates only the server-side setup.

Additionally, for the Full Stack option, you can now choose between:

  • ⚡ React
  • 🌟 Vue
  • 🍇 Angular

🔧 Project Structure

Once generated, your project will look like this:

🗁 my-project
 ├── 🗁 app/                # Frontend (Only in Full Stack setup)
 │   ├── 🗍 index.jsx
 │   └── ...
 ├── 🗁 server/             # Backend
 │   ├── 🗁 controllers/
 │   ├── 🗁 models/
 │   ├── 🗁 routes/
 │   ├── 🗁 config/
 │   ├── 🗁 middlewares/
 │   ├── 🗁 utils/
 │   ├── 🗍 .env
 │   ├── 🗍 server.js
 │   ├── 🗍 package.json
 │   └── 🗍 .gitignore
 ├── 🗍 README.md

🔧 Running the Project

🚀 Start the Backend

cd my-project/server
npm start

Before running, update your MongoDB connection in .env:

MONGO_URI=your_mongodb_connection_url
PORT=3000

🎨 Start the Frontend (For Full Stack Setup)

cd my-project/app
npm run dev

🔧 Technologies Used

💻 Backend: Node.js, Express.js, Mongoose, Dotenv, Cors, JSON Web Token (optional)
🎨 Frontend (Full Stack Setup): Vite, React, Vue, Angular, Tanstack Router


🤝 Contributing

🔹 Want to make this even better? Fork the repo, make your changes, and submit a pull request! We welcome all contributions. 💡


📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

Attribution

You are free to use, modify, and distribute this project, but please attribute it to the original creator.

Thank you for respecting the authorship and usage terms.


Package Sidebar

Install

npm i create-vault

Weekly Downloads

58

Version

32.1.1

License

MIT

Unpacked Size

25.2 kB

Total Files

9

Last publish

Collaborators

  • ctrlaltniraj
  • sojo