MongoDB provides several ways to manipulate data:
- mongo / mongosh: CLI
- Compass: GUI
This document focuses on the usage of CLI.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var cors = require('cors') | |
var nodemailer = require('nodemailer'); | |
/* | |
* Configurations | |
*/ | |
const allowedOrigin = ["https://adafycheng.github.io","http://localhost:5000"]; | |
const emailUser = 'testing@gmail.com'; | |
const password = 'hdkshfeioslcuwlc'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> | |
<style> | |
body { | |
background-color: #000; | |
color: #fff; | |
} | |
.btn { |
-
Install Docker Engine