Skip to content

FerretDB/nodejs-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start: Node.js and MongoDB

This is a fork of https://github.com/FerretDB/nodejs-example, simplified to run with FerretDB.

Execution Steps

  1. npm install
  2. node index.js --uri='mongodb://localhost:27017/'
  3. To run with strict Stable API: node index.js --uri='mongodb://localhost:27017/' --strict
  4. To run with PLAIN authentication pass PLAIN to the authMechanism URI option: node index.js --uri='mongodb://localhost:27017/?authMechanism=PLAIN'

About

This repository contains code samples for the Node.js Quick Start blog post series

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%