A
A
Alexander Ivanov2019-02-18 08:10:34
Vue.js
Alexander Ivanov, 2019-02-18 08:10:34

How to connect to Mongo database from Vue.js?

Is it possible to connect to the database from the front? I am a backend developer, I recently started writing a diploma on the frontend, there is a monga database with data, I connect to it through the compass, I need to make a request from the view to this database, there is no access to the backend, the api was not done. Is it possible to get data directly from the db in vue?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ivanov, 2019-02-23
@alexsteadfast

Found the answer to my question, connect to the database and make a request from the front IS POSSIBLE.
Technology for connecting and working with mongo: https://mongoosejs.com/docs/api.html

A
antimodern, 2019-02-18
@antimodern

PHP Developer

This is full of tin! You are a student and a dreamer, not a developer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question