Skip to main content
Version: 3.0

Database

By default OrionJS doesn't instantiate any connections to MongoDB, so this must be specified.

To add a connection instance to MongoDB, you will need to add a MONGO_URL environment variable in your .env configuration file.

Example add MONGO_URL environment variable

.env
...
MONGO_URL="mongodb://localhost:3003/orionlocal"
...