1.0.1 • Published 5 months ago

server-seed v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Server-Seed

A simple CLI tool for setting up a backend environment with Express and MongoDB.

šŸ“Œ Features

āœ… Interactive CLI for backend project setup
āœ… Options for Basic, Extended, and Full installation
āœ… Automatically sets up Express server, MongoDB connection, and folder structure
āœ… Works on Linux, macOS, and Windows (with Git Bash/WSL)

šŸ“¦ Installation

1ļøāƒ£ Run Without Installing (Recommended)

npx server-seed

2ļøāƒ£ Install Globally

npm install -g server-seed

Then, run:

server-seed

šŸš€ Usage Once you run the command, you'll see a prompt like this:

? Choose one installation from below (Use arrow keys)
āÆ basic (express server && env)
  extended (server, mongodb, router, model)
  full (server, mongodb, mvc folders)

šŸ“œ Installation Options

Basic = Express server, .env setup
Extended = Express server, MongoDB, Router, Models
Full = Express server, MongoDB, MVC folders

After selecting an option, the script will automatically create the necessary files and folders. šŸŽ‰

šŸ”§ How It Works

  1. Prompts the user for the type of setup
  2. Creates files/folders based on the selection
  3. Initializes package.json and installs dependencies
  4. Generates boilerplate Express server and MongoDB connection
  5. Runs on all major OS (Windows/Linux/macOS)

šŸ›  Requirements

Node.js 14+ Bash terminal on Windows (Git Bash or WSL recommended)

šŸ“„ License

This project is licensed under the MIT License.

1.0.1

5 months ago

1.0.0

5 months ago