Skip to content

Setting up Node Environment #2

@saxenapeeyush

Description

@saxenapeeyush

Start setting up a Node Environment on your machine
and make the folders as :-

  • db
  • api
  • models
  • utils
  • app.js or index.js

Inside the utils folder , add a file config.js and add mongoDB cloud link , as :-

const config = {
     dbConfig : "mongodb+srv://<username>:<password>@cluster0-sicof.mongodb.net/<databaseName>?retryWrites=true&w=majority"
 }
 
 module.exports=config;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions