1.1.1 • Published 10 months ago

expressjs-mongodb-generator v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Express' App Generator

šŸ“¦ Installation

npm install -g expressjs-mongodb-generator

šŸš€ Quick Start

This app generates an Express project with bcrypt, cookie-parser, cors, dotenv, express, jsonwebtoken, and mongoose built in for RESTful APIs

ā–¶ļø To start, run

create-express-app

and you'll see the questions.

šŸ’» Command Line Questions

Once you run create-express-app in the command line, you'll see four questions, including:

what is your project name?,

what is your database address? ,

what is your secret key for JWT?

what is the project port? ,

All of these four questions are required for the project to be generated.

Once the project is generated, run

npm start

And the project will start with the route you entered earlier.

šŸ“ Project Folder Structures

ā”œā”€ā”€ app/
│   ā”œā”€ā”€ controllers/
│   │   ā”œā”€ā”€ index.js
│   ā”œā”€ā”€ middlewares/
│   │   ā”œā”€ā”€ index.js
│   ā”œā”€ā”€ models/
│   │   ā”œā”€ā”€ index.js
│   ā”œā”€ā”€ routes/
│   │   ā”œā”€ā”€ index.js
│   ā”œā”€ā”€ schema/
│   │   ā”œā”€ā”€ index.js
│   └── index.js
ā”œā”€ā”€ .gitignore
ā”œā”€ā”€ .env
ā”œā”€ā”€ package.json
ā”œā”€ā”€ server.js
└── README.md

I welcome and look forward to your pull requests!

1.1.1

10 months ago

1.1.0

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago