1.0.1 • Published 2 years ago
generate-express-server v1.0.1
Express application generator.
Installation
Mac
$ sudo npm install -g generate-express-serverWindows
$ npm install -g generate-express-serverQuick 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 myAppInstall dependencies:
$ npm installConfigure .env file:
MONGO_URI=mongo_uri
JWT_SECRET=secretkey
JWT_LIFETIME=30dMore info about JWT ==> jsonwebtoken
Start your Express.js app at http://localhost:3000/:
$ npm start