backend-folder
v1.0.6
Published
### **π About** `backend-folder` is an NPM package that sets up a **structured backend folder** for a **Node.js** application with best practices.
Readme
π README for backend-folder
π About
backend-folder is an NPM package that sets up a structured backend folder for a Node.js application with best practices.
π Installation
To generate a new backend folder structure, run:
npx backend-folderπ Folder Structure Created
my-backend/
βββ src/
β βββ config/ # Configuration files (e.g., database, env)
β βββ controllers/ # Business logic
β βββ middleware/ # Custom middleware
β βββ models/ # Database models
β βββ routes/ # API routes
β βββ services/ # Reusable service logic
β βββ utils/ # Utility functions
β βββ validators/ # Request validation
β βββ app.js # Main application file
βββ .env # Environment variables
βββ .gitignore # Ignore node_modules, env files, etc.
βββ package.json
βββ README.mdβ Features
β Generates a structured folder for your backend
β Includes ESLint & Prettier configurations
β Adds a starter .env file
