1.1.0 • Published 3 years ago
skeleton-express-api v1.1.0
skeleton-express-api
A CLI to automatically clone the Nodejs Server Setup.
Installation
Install the CLI globally OR use npx:
npm install -g skeleton-express-api
Usage
# with global install
skeleton-express-api name-of-app
# with npx
npx skeleton-express-api name-of-app
This will create a directory with the given name, clone the Nodejs Server Setup repo into it, and install dependencies.
Folder structure
root/
├─ node_modules/
├─ server/
│ ├─ api/
│ │ ├─ routes/
│ │ │ ├─ users.routes.js
│ │ ├─ users/
│ │ │ ├─ users.controller.js
│ │ ├─ dao/
│ │ │ ├─ users.DAO.js
│ ├─ config/
│ │ ├─ server.js
│ ├─ validation/
│ │ ├─ userValidation.js
├─ index.js
├─ package.json
├─ .gitignore