MongoDb

mongoose

noonjs uses Mongoose to interact with MongoDB. The connection string can be configured in config.json or set via an environment variable.

{
...
    "mongodb": "mongodb+srv://...",
...
}

Environment variables

Alternatively, environment variables like MONGODB=mongodb+srv://... achieve the same result. noonjs prioritizes environment variables over config.json.

Free Cloud MongoDb

You can sign up for a free account on mongodb.com and create multiple free clusters for your applications. Additionally, consider adding a server or your IP to the network to allow database access.

Edit this page on Github
© 2025 kav3.com. Crafted with and dedication.