SkillAgentSearch skills...

DbConnection

Snippet code for mongodb connection in js

Install / Use

/learn @SinaAboutalebi/DbConnection
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"> <img width="100px" src="https://res.cloudinary.com/anuraghazra/image/upload/v1594908242/logo_ccswme.svg" align="center" alt="GitHub Readme Stats" /> <h2 align="center">MongoDb Conection</h2> <p align="center">Snippet code for mongodb connection in js</p> </p>

Preview

<p align="center"> <img src="https://github.com/Zer0Power/dbConnection/blob/main/screenshots/Screenshot_at_2022-03-24_15-03-39.png"> <img src="https://github.com/Zer0Power/dbConnection/blob/main/screenshots/Screenshot_at_2022-03-24_15-19-43.png"> </p>

Getting Started

Prerequisites

First of all install npm.

  • npm
    npm install npm@latest -g
    

Installation

  1. Clone the repo.
    git clone https://github.com/Zer0Power/dbConnection
    
  2. Install NPM packages
    npm install mongoose
    
  3. Edit dbConnect.js File
    const mongo_URI = 'ENTER YOUR Mongodb URI';
    
  4. Import snippet code into your project.
    const dbConnect = require("dbConnect.js");
    
<h2>Repo Stat</h2> <p align="center"><br> <img src="https://github-readme-stats.vercel.app/api/pin/?username=Zer0Power&repo=dbConnection&theme=nord" alt="https://github.com/anuraghazra/github-readme-stats"> </p>

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2y ago
Forks2

Languages

JavaScript

Security Score

55/100

Audited on Jan 9, 2024

No findings