multy-stub/server/utils/mongoose.js
Primakov Alexandr Alexandrovich 4b0d9b4dbc mongoose + tests
2024-10-16 11:06:23 +03:00

6 lines
120 B
JavaScript

const mongoose = require('mongoose')
const { mongoUrl } = require('./const')
mongoose.connect(`${mongoUrl}/mongoose`)