1.0.1 • Published 8 months ago

generate-express-server v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Express Logo

Express application generator.

Installation

Mac

$ sudo npm install -g generate-express-server

Windows

$ npm install -g generate-express-server

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ npx create-express-app myApp

Install dependencies:

$ npm install

Configure .env file:

MONGO_URI=mongo_uri
JWT_SECRET=secretkey
JWT_LIFETIME=30d

More info about JWT ==> jsonwebtoken

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

$ npm start

License

MIT