1.1.1 • Published 1 year ago

express-generate-wins v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Express Logo

Express' application generator.

Installation

$ npm install -g express-generate-wins

Quick Start

The quickest way to get started with express is to use the win generate executable to generate the app as shown below, with this command you have got some files and folders in your project: Create the app:

$ npx wins-genartor <project_name>

env setting

PORT =<PORT>

DB_NAME = <DB_NAME>
DB_PASSWORD =<DB_PASSWORD>
DB_USERNAME =<DB_USERNAME>
DB_HOST =<DB_PASSWORD>

Informations

default setting my database is postgres sql if your db not postgres sql you you can install dependencies like mysql 2 for mysql

# One of the following:
$ npm install --save pg pg-hstore # Postgres
$ npm install --save mysql2
$ npm install --save mariadb
$ npm install --save sqlite3
$ npm install --save tedious # Microsoft SQL Server
$ npm install --save oracledb # Oracle Database

Add setup database.js

dialect = <dialect>

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:4001/:

$ node app.js

License

MIT

1.1.1

1 year ago

1.0.0

1 year ago