@sid.vish/create-express-skeleton
v1.0.4
Published
A CLI tool to generate an Express.js backend skeleton
Downloads
1
Maintainers
Readme
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-appThen, 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-appStart the server:
npm startYour Express.js server will be running at:
http://localhost:5000Project Structure
my-express-app/
│-- package.json
│-- src/
│ ├── app.js
│ ├── routes/
│ ├── controllers/
│ ├── config/
│ ├── middleware/
│ ├── models/
│-- .env
│-- .server.js
│-- README.mdHappy coding! 🚀
