https://github.com/barbarpotato/server-side-development-with-nodejs-express-mongodb
The Course Base from the Node.Js, Examine NodeJS and NodeJS modules: Express for building web servers. On the database side, Using basic CRUD operations, NoSQL databases, in particular MongoDB and Mongoose for accessing MongoDB from NodeJS.
https://github.com/barbarpotato/server-side-development-with-nodejs-express-mongodb
express-js http-server https-server mongodb mongoose nodejs
Last synced: about 2 months ago
JSON representation
The Course Base from the Node.Js, Examine NodeJS and NodeJS modules: Express for building web servers. On the database side, Using basic CRUD operations, NoSQL databases, in particular MongoDB and Mongoose for accessing MongoDB from NodeJS.
- Host: GitHub
- URL: https://github.com/barbarpotato/server-side-development-with-nodejs-express-mongodb
- Owner: Barbarpotato
- Created: 2022-12-01T05:15:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T05:23:32.000Z (over 3 years ago)
- Last Synced: 2025-01-11T19:35:41.844Z (over 1 year ago)
- Topics: express-js, http-server, https-server, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 237 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server-side-Development-with-NodeJS-Express-MongoDB
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.
# Set up the module.
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'>
```
# Set up the open ssl for using the https protocol simulation
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.key
openssl req -new -key private.key -out cert.csr
openssl x509 -req -in cert.csr -signkey private.key -out certificate.pem