1.0.4 • Published 5 months ago

@sid.vish/create-express-skeleton v1.0.4

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

Create Express Skeleton

Overview

@sid.vish/create-express-skeleton is a simple CLI tool that helps you quickly set up a basic Express.js server skeleton with essential configurations.

Features

  • Generates an Express.js project structure.
  • Includes basic routing and middleware setup.
  • Automatically installs dependencies.

Installation

To install the package globally:

npm i -g "@sid.vish/create-express-skeleton"

Or use npx (no installation required):

npx "@sid.vish/create-express-skeleton"

Usage

To create a new Express.js project, first create a folder and navigate into it:

mkdir my-express-app && cd my-express-app

Then, run:

npx "@sid.vish/create-express-skeleton"

This will create a folder my-express-app with all necessary files.

Running the Server

Once the setup is complete,

Navigate to the project folder:

cd my-express-app

Start the server:

npm start

Your Express.js server will be running at:

http://localhost:5000

Project Structure

my-express-app/
│-- package.json
│-- src/
│   ├── app.js
│   ├── routes/
│   ├── controllers/
│   ├── config/
│   ├── middleware/
│   ├── models/
│-- .env
│-- .server.js
│-- README.md

Happy coding! 🚀

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago