New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

server-seed

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-seed

A CLI tool for setting up a backend environment

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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 (basic + mongoDB + directories)
  full (full (extended + dummy data + cors, bcrypt, jwt))

📜 Installation Options

Basic = Express server, .env setup
Extended = Express server, MongoDB, Routers, Controllers (empty directories) Full = Express server, MongoDB, directories with dummy data, cors, bcrypt, jsonwebtoken

After selecting an option, the script will automatically create the necessary files and folders. 🎉

🔧 How It Works

  • Prompts the user for the type of setup
  • Creates files/folders based on the selection
  • Initializes package.json and installs dependencies
  • Generates boilerplate Express server and MongoDB connection
  • 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.

Keywords

nodejs

FAQs

Package last updated on 25 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts