The Course Base from the Node.Js, Examine NodeJS and NodeJS modules: Express for building web servers. On the database side, we review basic CRUD operations, NoSQL databases, in particular MongoDB and Mongoose for accessing MongoDB from NodeJS.
Before we build the express application skeleton, we need to install some package that support us
to build express generator application.
First install these packages to the global variable if we are not yet installed in our device:
npm install express-generator@Version -g
You can visit the link Source in :
https://expressjs.com/en/starter/generator.html
then, we ready to build up our skeleton application developed by express:
express <'Application Name'>
You can click this to set up the installation of OPENSSL
if have some problem issue with that, open your terminal and typing this: set OPENSSL_CONF=<"PATH to openssl.cnf">
to Generate private key, certificate, etc you can type this:
openssl genrsa 1024 > private.keyopenssl req -new -key private.key -out cert.csr
openssl x509 -req -in cert.csr -signkey private.key -out certificate.pem